diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-10 16:34:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-10 20:24:00 +0200 |
commit | 626cf243134961511b71351d65e4161d7c25c45e (patch) | |
tree | aa53c4ececffb3a54701459cb52d2454c5eb29ee /shell | |
parent | e229547eb02ab6c9a1fe6abdfc42ce970cedc733 (diff) |
drop final boost::noncopyable use
we replaced all the others, so replace this one too
Change-Id: If744a834e754126921e392d32af44797bd5d634d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120278
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/kf5be/kf5backend.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/shell/source/backends/kf5be/kf5backend.cxx b/shell/source/backends/kf5be/kf5backend.cxx index e448c124d88a..e9e10e60fd27 100644 --- a/shell/source/backends/kf5be/kf5backend.cxx +++ b/shell/source/backends/kf5be/kf5backend.cxx @@ -23,7 +23,6 @@ #include <QtWidgets/QApplication> -#include <boost/noncopyable.hpp> #include <com/sun/star/beans/Optional.hpp> #include <com/sun/star/beans/UnknownPropertyException.hpp> #include <com/sun/star/beans/XPropertyChangeListener.hpp> @@ -50,13 +49,16 @@ namespace { -class Service : public cppu::WeakImplHelper<css::lang::XServiceInfo, css::beans::XPropertySet>, - private boost::noncopyable +class Service : public cppu::WeakImplHelper<css::lang::XServiceInfo, css::beans::XPropertySet> { public: Service(); private: + // noncopyable until we have good reasons... + Service(const Service&) = delete; + Service& operator=(const Service&) = delete; + virtual ~Service() override {} virtual OUString SAL_CALL getImplementationName() override |