[Libreoffice-commits] core.git: shell/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 10 18:24:38 UTC 2021


 shell/source/backends/kf5be/kf5backend.cxx |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

New commits:
commit 626cf243134961511b71351d65e4161d7c25c45e
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Aug 10 16:34:03 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Aug 10 20:24:00 2021 +0200

    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 at redhat.com>

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


More information about the Libreoffice-commits mailing list