diff options
Diffstat (limited to 'stoc/source/uriproc/UriReferenceFactory.cxx')
-rw-r--r-- | stoc/source/uriproc/UriReferenceFactory.cxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/stoc/source/uriproc/UriReferenceFactory.cxx b/stoc/source/uriproc/UriReferenceFactory.cxx index e8d3c6acb86f..88310c5cd340 100644 --- a/stoc/source/uriproc/UriReferenceFactory.cxx +++ b/stoc/source/uriproc/UriReferenceFactory.cxx @@ -25,7 +25,6 @@ #include <exception> #include <vector> -#include <boost/noncopyable.hpp> #include <com/sun/star/lang/WrappedTargetRuntimeException.hpp> #include <com/sun/star/lang/XMultiComponentFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> @@ -93,8 +92,7 @@ sal_Int32 parseScheme(OUString const & uriReference) { } class UriReference: - public cppu::WeakImplHelper<css::uri::XUriReference>, - private boost::noncopyable + public cppu::WeakImplHelper<css::uri::XUriReference> { public: UriReference( @@ -106,6 +104,9 @@ public: query) {} + UriReference(const UriReference&) = delete; + UriReference& operator=(const UriReference&) = delete; + virtual OUString SAL_CALL getUriReference() throw (css::uno::RuntimeException, std::exception) override { return m_base.getUriReference(); } @@ -258,14 +259,16 @@ void processSegments( class Factory: public cppu::WeakImplHelper< - css::lang::XServiceInfo, css::uri::XUriReferenceFactory>, - private boost::noncopyable + css::lang::XServiceInfo, css::uri::XUriReferenceFactory> { 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; |