From 97abbec95665b43a9a09e10a0fb31854cdbd5c0d Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Wed, 13 Apr 2016 10:11:37 +0200 Subject: tdf#94306 replace boost::noncopyable in stoc to xmlsec.. Replace with C++11 delete copy-constructur and copy-assignment. Remove boost/noncopyable.hpp includes. Add missing default ctors. With this commit there should be no users of boost::noncopyable left. Change-Id: I6b1e47824912a6a80cc3f00f34938ebc048d8975 Reviewed-on: https://gerrit.libreoffice.org/24051 Tested-by: Jenkins Reviewed-by: Michael Stahl --- stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx') diff --git a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx index 5bb9fb09b868..c96b081b2982 100644 --- a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx +++ b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include #include #include #include @@ -45,14 +44,16 @@ namespace { class Factory: public cppu::WeakImplHelper< - css::lang::XServiceInfo, css::uri::XVndSunStarPkgUrlReferenceFactory>, - private boost::noncopyable + css::lang::XServiceInfo, css::uri::XVndSunStarPkgUrlReferenceFactory> { public: explicit Factory( css::uno::Reference< css::uno::XComponentContext > const & context): m_context(context) {} + Factory(const Factory&) = delete; + Factory& operator=(const Factory&) = delete; + virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override; -- cgit