[Libreoffice-commits] core.git: basctl/source bridges/inc bridges/source chart2/source cli_ure/source codemaker/source configmgr/source connectivity/source dbaccess/source desktop/source dtrans/source emfio/inc framework/inc include/codemaker include/comphelper include/editeng include/jvmaccess include/registry include/sfx2 include/svtools include/svx include/unoidl include/unotools include/vcl include/xmloff jvmfwk/inc linguistic/source lotuswordpro/inc oox/source registry/source reportdesign/inc reportdesign/source sc/source sd/inc sd/source sfx2/inc sfx2/source slideshow/source stoc/source sw/inc sw/source testtools/source ucb/source uui/source writerfilter/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Nov 2 06:03:41 UTC 2018


 basctl/source/basicide/breakpoint.hxx                              |    2 -
 bridges/inc/bridge.hxx                                             |    4 +-
 bridges/inc/cppinterfaceproxy.hxx                                  |    4 +-
 bridges/inc/unointerfaceproxy.hxx                                  |    4 +-
 bridges/inc/vtablefactory.hxx                                      |    4 +-
 bridges/source/jni_uno/jni_base.h                                  |   12 +++---
 chart2/source/controller/accessibility/AccessibleViewForwarder.hxx |    4 +-
 chart2/source/inc/ExplicitCategoriesProvider.hxx                   |    4 +-
 cli_ure/source/uno_bridge/cli_base.h                               |    4 +-
 codemaker/source/cppumaker/includes.hxx                            |    4 +-
 codemaker/source/javamaker/classfile.hxx                           |    8 ++--
 configmgr/source/dconf.cxx                                         |   20 +++++-----
 connectivity/source/inc/java/ContextClassLoader.hxx                |    4 +-
 connectivity/source/inc/java/LocalRef.hxx                          |    4 +-
 connectivity/source/inc/java/lang/Object.hxx                       |    8 ++--
 dbaccess/source/core/inc/DatabaseDataProvider.hxx                  |    4 +-
 desktop/source/app/officeipcthread.cxx                             |    4 +-
 desktop/source/deployment/gui/dp_gui_dependencydialog.hxx          |    4 +-
 desktop/source/deployment/gui/dp_gui_extensioncmdqueue.hxx         |    4 +-
 desktop/source/deployment/gui/dp_gui_updatedialog.hxx              |    8 ++--
 desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx       |    4 +-
 desktop/source/deployment/manager/dp_activepackages.hxx            |    4 +-
 dtrans/source/win32/dnd/target.hxx                                 |    4 +-
 emfio/inc/mtftools.hxx                                             |    4 +-
 framework/inc/services/uriabbreviation.hxx                         |    4 +-
 include/codemaker/exceptiontree.hxx                                |    8 ++--
 include/codemaker/generatedtypeset.hxx                             |    4 +-
 include/comphelper/asyncnotification.hxx                           |    4 +-
 include/editeng/swafopt.hxx                                        |    2 -
 include/jvmaccess/unovirtualmachine.hxx                            |    4 +-
 include/jvmaccess/virtualmachine.hxx                               |    8 ++--
 include/registry/writer.hxx                                        |    4 +-
 include/sfx2/basedlgs.hxx                                          |   12 +++---
 include/sfx2/dockwin.hxx                                           |    4 +-
 include/sfx2/printer.hxx                                           |    2 -
 include/sfx2/tbxctrl.hxx                                           |    4 +-
 include/svtools/editbrowsebox.hxx                                  |    4 +-
 include/svtools/javacontext.hxx                                    |    4 +-
 include/svx/sdr/table/tablecontroller.hxx                          |    4 +-
 include/svx/tbxcolorupdate.hxx                                     |    4 +-
 include/unoidl/unoidl.hxx                                          |    4 +-
 include/unotools/options.hxx                                       |    4 +-
 include/vcl/uitest/uiobject.hxx                                    |    4 +-
 include/vcl/vclevent.hxx                                           |    8 ++--
 include/xmloff/SchXMLExportHelper.hxx                              |    4 +-
 include/xmloff/prstylei.hxx                                        |    4 +-
 include/xmloff/txtparae.hxx                                        |    2 -
 include/xmloff/xmlimppr.hxx                                        |    4 +-
 include/xmloff/xmlstyle.hxx                                        |    4 +-
 jvmfwk/inc/elements.hxx                                            |    4 +-
 linguistic/source/gciterator.hxx                                   |    4 +-
 lotuswordpro/inc/xfilter/xffontfactory.hxx                         |    2 -
 oox/source/shape/ShapeContextHandler.hxx                           |    4 +-
 registry/source/reflread.hxx                                       |    4 +-
 registry/source/reflwrit.hxx                                       |    4 +-
 reportdesign/inc/PropertyForward.hxx                               |    4 +-
 reportdesign/inc/RptObject.hxx                                     |    4 +-
 reportdesign/inc/UndoActions.hxx                                   |    4 +-
 reportdesign/source/core/inc/ReportControlModel.hxx                |    4 +-
 reportdesign/source/filter/xml/xmlExportDocumentHandler.hxx        |    4 +-
 reportdesign/source/filter/xml/xmlImportDocumentHandler.hxx        |    4 +-
 reportdesign/source/ui/inc/DataProviderHandler.hxx                 |    4 +-
 reportdesign/source/ui/inc/DesignView.hxx                          |    4 +-
 reportdesign/source/ui/inc/EndMarker.hxx                           |    4 +-
 reportdesign/source/ui/inc/GeometryHandler.hxx                     |    4 +-
 reportdesign/source/ui/inc/GroupsSorting.hxx                       |    4 +-
 reportdesign/source/ui/inc/ReportComponentHandler.hxx              |    4 +-
 reportdesign/source/ui/inc/ReportSection.hxx                       |    4 +-
 reportdesign/source/ui/inc/ReportWindow.hxx                        |    4 +-
 reportdesign/source/ui/inc/ScrollHelper.hxx                        |    4 +-
 reportdesign/source/ui/inc/SectionWindow.hxx                       |    4 +-
 reportdesign/source/ui/inc/StartMarker.hxx                         |    4 +-
 reportdesign/source/ui/inc/ViewsWindow.hxx                         |    4 +-
 reportdesign/source/ui/inc/propbrw.hxx                             |    4 +-
 sc/source/ui/inc/formdata.hxx                                      |    4 +-
 sd/inc/helper/simplereferencecomponent.hxx                         |    5 +-
 sd/source/ui/inc/AccessibleViewForwarder.hxx                       |    4 +-
 sd/source/ui/slideshow/slideshowimpl.hxx                           |    4 +-
 sfx2/inc/bitset.hxx                                                |    4 +-
 sfx2/source/appl/imestatuswindow.hxx                               |    2 -
 sfx2/source/doc/sfxbasemodel.cxx                                   |    2 -
 slideshow/source/inc/shapesubset.hxx                               |    2 -
 stoc/source/javavm/interact.hxx                                    |    2 -
 stoc/source/javavm/javavm.hxx                                      |    2 -
 stoc/source/uriproc/UriReference.hxx                               |    4 +-
 sw/inc/IMark.hxx                                                   |    8 ++--
 sw/inc/calbck.hxx                                                  |    4 +-
 sw/inc/finalthreadmanager.hxx                                      |    4 +-
 sw/source/core/docnode/cancellablejob.hxx                          |    4 +-
 sw/source/core/inc/txtfrm.hxx                                      |    4 +-
 sw/source/core/inc/unotextmarkup.hxx                               |    4 +-
 sw/source/filter/ww8/wrtww8.hxx                                    |    6 +--
 sw/source/uibase/inc/toxmgr.hxx                                    |    8 ++--
 testtools/source/bridgetest/currentcontextchecker.hxx              |    4 +-
 ucb/source/ucp/file/filrec.hxx                                     |    5 +-
 uui/source/iahndl.hxx                                              |    4 +-
 uui/source/requeststringresolver.hxx                               |    4 +-
 writerfilter/source/ooxml/OOXMLFastContextHandler.hxx              |    2 -
 writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx             |    4 +-
 99 files changed, 220 insertions(+), 222 deletions(-)

New commits:
commit 8467d764187691f53e66d3568270197b162332d8
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Nov 1 09:48:16 2018 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Nov 2 07:03:08 2018 +0100

    fix signatures of deleted copy/assign operators
    
    Change-Id: Id1a0749b78a7021be3564487fb974d7084705129
    Reviewed-on: https://gerrit.libreoffice.org/62718
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/basctl/source/basicide/breakpoint.hxx b/basctl/source/basicide/breakpoint.hxx
index 7b2d824e89e0..566275060d3b 100644
--- a/basctl/source/basicide/breakpoint.hxx
+++ b/basctl/source/basicide/breakpoint.hxx
@@ -49,7 +49,7 @@ struct BreakPoint
 class BreakPointList
 {
 private:
-    void operator =(BreakPointList) = delete;
+    BreakPointList& operator =(BreakPointList const &) = delete;
     std::vector<BreakPoint> maBreakPoints;
 
 public:
diff --git a/bridges/inc/bridge.hxx b/bridges/inc/bridge.hxx
index b702dd9b6e07..9e33cb53bb91 100644
--- a/bridges/inc/bridge.hxx
+++ b/bridges/inc/bridge.hxx
@@ -74,8 +74,8 @@ public:
     uno_Mapping * getUno2Cpp() { return &aUno2Cpp; }
 
 private:
-    Bridge(Bridge &) = delete;
-    void operator =(const Bridge&) = delete;
+    Bridge(Bridge const &) = delete;
+    Bridge& operator =(const Bridge&) = delete;
 
     Bridge(
         uno_ExtEnvironment * pCppEnv_, uno_ExtEnvironment * pUnoEnv_,
diff --git a/bridges/inc/cppinterfaceproxy.hxx b/bridges/inc/cppinterfaceproxy.hxx
index d508146bdcb0..f4966d5a2eae 100644
--- a/bridges/inc/cppinterfaceproxy.hxx
+++ b/bridges/inc/cppinterfaceproxy.hxx
@@ -74,8 +74,8 @@ public:
     static CppInterfaceProxy * castInterfaceToProxy(void * pInterface);
 
 private:
-    CppInterfaceProxy(CppInterfaceProxy &) = delete;
-    void operator =(const CppInterfaceProxy&) = delete;
+    CppInterfaceProxy(CppInterfaceProxy const &) = delete;
+    CppInterfaceProxy& operator =(const CppInterfaceProxy&) = delete;
 
     CppInterfaceProxy(
         Bridge * pBridge_, uno_Interface * pUnoI_,
diff --git a/bridges/inc/unointerfaceproxy.hxx b/bridges/inc/unointerfaceproxy.hxx
index 374ac956caec..5bc66988f181 100644
--- a/bridges/inc/unointerfaceproxy.hxx
+++ b/bridges/inc/unointerfaceproxy.hxx
@@ -73,8 +73,8 @@ public:
     com::sun::star::uno::XInterface * getCppI() { return pCppI; }
 
 private:
-    UnoInterfaceProxy(UnoInterfaceProxy &) = delete;
-    void operator =(const UnoInterfaceProxy&) = delete;
+    UnoInterfaceProxy(UnoInterfaceProxy const &) = delete;
+    UnoInterfaceProxy& operator =(const UnoInterfaceProxy&) = delete;
 
     UnoInterfaceProxy(
         Bridge * pBridge_, com::sun::star::uno::XInterface * pCppI_,
diff --git a/bridges/inc/vtablefactory.hxx b/bridges/inc/vtablefactory.hxx
index 70c87c385952..facb437530ef 100644
--- a/bridges/inc/vtablefactory.hxx
+++ b/bridges/inc/vtablefactory.hxx
@@ -121,8 +121,8 @@ private:
 
     class BaseOffset;
 
-    VtableFactory(VtableFactory &) = delete;
-    void operator =(const VtableFactory&) = delete;
+    VtableFactory(VtableFactory const &) = delete;
+    VtableFactory& operator =(const VtableFactory&) = delete;
 
     bool createBlock(Block &block, sal_Int32 slotCount) const;
 
diff --git a/bridges/source/jni_uno/jni_base.h b/bridges/source/jni_uno/jni_base.h
index 6fc2aeb7b447..d4a937f7af8e 100644
--- a/bridges/source/jni_uno/jni_base.h
+++ b/bridges/source/jni_uno/jni_base.h
@@ -58,8 +58,8 @@ class JNI_context
     JNIEnv *         m_env;
     jobject          m_class_loader;
 
-    JNI_context( JNI_context & ) = delete;
-    void operator = ( JNI_context ) = delete;
+    JNI_context( JNI_context const & ) = delete;
+    JNI_context& operator = ( JNI_context const &) = delete;
 
     void java_exc_occurred() const;
 public:
@@ -121,8 +121,8 @@ class JNI_guarded_context
     : private ::jvmaccess::VirtualMachine::AttachGuard,
       public JNI_context
 {
-    JNI_guarded_context( JNI_guarded_context & ) = delete;
-    void operator = ( JNI_guarded_context ) = delete;
+    JNI_guarded_context( JNI_guarded_context const & ) = delete;
+    JNI_guarded_context& operator = ( JNI_guarded_context const &) = delete;
 
 public:
     explicit JNI_guarded_context(
@@ -229,8 +229,8 @@ class TypeDescr
 {
     typelib_TypeDescription * m_td;
 
-    TypeDescr( TypeDescr & ) = delete;
-    void operator = ( TypeDescr ) = delete;
+    TypeDescr( TypeDescr const & ) = delete;
+    TypeDescr& operator = ( TypeDescr const & ) = delete;
 
 public:
     inline explicit TypeDescr( typelib_TypeDescriptionReference * td_ref );
diff --git a/chart2/source/controller/accessibility/AccessibleViewForwarder.hxx b/chart2/source/controller/accessibility/AccessibleViewForwarder.hxx
index 7aa21fe600d1..147b252a6d63 100644
--- a/chart2/source/controller/accessibility/AccessibleViewForwarder.hxx
+++ b/chart2/source/controller/accessibility/AccessibleViewForwarder.hxx
@@ -42,8 +42,8 @@ public:
     virtual Size LogicToPixel( const Size& rSize ) const override;
 
 private:
-    AccessibleViewForwarder( AccessibleViewForwarder& ) = delete;
-    AccessibleViewForwarder& operator=( AccessibleViewForwarder& ) = delete;
+    AccessibleViewForwarder( AccessibleViewForwarder const & ) = delete;
+    AccessibleViewForwarder& operator=( AccessibleViewForwarder const & ) = delete;
 
     AccessibleChartView* m_pAccChartView;
     VclPtr<vcl::Window> m_pWindow;
diff --git a/chart2/source/inc/ExplicitCategoriesProvider.hxx b/chart2/source/inc/ExplicitCategoriesProvider.hxx
index fef7c873737c..d91856ea7f6f 100644
--- a/chart2/source/inc/ExplicitCategoriesProvider.hxx
+++ b/chart2/source/inc/ExplicitCategoriesProvider.hxx
@@ -90,8 +90,8 @@ public:
     const std::vector< double >&  getDateCategories();
 
 private:
-    ExplicitCategoriesProvider(ExplicitCategoriesProvider &) = delete;
-    void operator =(ExplicitCategoriesProvider) = delete;
+    ExplicitCategoriesProvider(ExplicitCategoriesProvider const &) = delete;
+    ExplicitCategoriesProvider& operator =(ExplicitCategoriesProvider const &) = delete;
 
     bool volatile m_bDirty;
     css::uno::WeakReference< css::chart2::XCoordinateSystem >   m_xCooSysModel;
diff --git a/cli_ure/source/uno_bridge/cli_base.h b/cli_ure/source/uno_bridge/cli_base.h
index 48e2de42d680..bca780f7c661 100644
--- a/cli_ure/source/uno_bridge/cli_base.h
+++ b/cli_ure/source/uno_bridge/cli_base.h
@@ -140,8 +140,8 @@ class TypeDescr
 {
     typelib_TypeDescription * m_td;
 
-    TypeDescr( TypeDescr & ) = delete;
-    void operator = ( TypeDescr ) = delete;
+    TypeDescr( TypeDescr const & ) = delete;
+    TypeDescr& operator = ( TypeDescr const & ) = delete;
 
 public:
     inline explicit TypeDescr( typelib_TypeDescriptionReference * td_ref );
diff --git a/codemaker/source/cppumaker/includes.hxx b/codemaker/source/cppumaker/includes.hxx
index 3e7c20569ee2..35c3c7877712 100644
--- a/codemaker/source/cppumaker/includes.hxx
+++ b/codemaker/source/cppumaker/includes.hxx
@@ -65,8 +65,8 @@ public:
         FileStream & out, OString const & entityName, bool hpp);
 
 private:
-    Includes(Includes &) = delete;
-    void operator =(const Includes&) = delete;
+    Includes(Includes const &) = delete;
+    Includes& operator =(const Includes&) = delete;
 
     bool isInterfaceType(OString const & entityName) const;
 
diff --git a/codemaker/source/javamaker/classfile.hxx b/codemaker/source/javamaker/classfile.hxx
index 179fea21ef77..6f536802b50c 100644
--- a/codemaker/source/javamaker/classfile.hxx
+++ b/codemaker/source/javamaker/classfile.hxx
@@ -130,8 +130,8 @@ public:
         Position getPosition() const;
 
     private:
-        Code(Code &) = delete;
-        void operator =(const Code&) = delete;
+        Code(Code const &) = delete;
+        Code& operator =(const Code&) = delete;
 
         explicit Code(ClassFile & classFile);
 
@@ -181,8 +181,8 @@ public:
 private:
     typedef std::map< rtl::OString, sal_uInt16 > Map;
 
-    ClassFile(ClassFile &) = delete;
-    void operator =(const ClassFile&) = delete;
+    ClassFile(ClassFile const &) = delete;
+    ClassFile& operator =(const ClassFile&) = delete;
 
     sal_uInt16 nextConstantPoolIndex(sal_uInt16 width);
     sal_uInt16 addUtf8Info(rtl::OString const & value);
diff --git a/configmgr/source/dconf.cxx b/configmgr/source/dconf.cxx
index 659f217071ec..c2b8c2cd1efc 100644
--- a/configmgr/source/dconf.cxx
+++ b/configmgr/source/dconf.cxx
@@ -128,8 +128,8 @@ public:
     T * get() const { return object_; }
 
 private:
-    GObjectHolder(GObjectHolder &) = delete;
-    void operator =(GObjectHolder) = delete;
+    GObjectHolder(GObjectHolder const &) = delete;
+    GObjectHolder& operator =(GObjectHolder const &) = delete;
 
     T * object_;
 };
@@ -150,8 +150,8 @@ public:
     GVariant * get() const { return variant_; }
 
 private:
-    GVariantHolder(GVariantHolder &) = delete;
-    void operator =(GVariantHolder) = delete;
+    GVariantHolder(GVariantHolder const &) = delete;
+    GVariantHolder& operator =(GVariantHolder const &) = delete;
 
     void unref() {
         if (variant_ != nullptr) {
@@ -175,8 +175,8 @@ public:
     GVariantType * get() const { return type_; }
 
 private:
-    GVariantTypeHolder(GVariantTypeHolder &) = delete;
-    void operator =(GVariantTypeHolder) = delete;
+    GVariantTypeHolder(GVariantTypeHolder const &) = delete;
+    GVariantTypeHolder& operator =(GVariantTypeHolder const &) = delete;
 
     GVariantType * type_;
 };
@@ -190,8 +190,8 @@ public:
     gchar ** get() const { return array_; }
 
 private:
-    StringArrayHolder(StringArrayHolder &) = delete;
-    void operator =(StringArrayHolder) = delete;
+    StringArrayHolder(StringArrayHolder const &) = delete;
+    StringArrayHolder& operator =(StringArrayHolder const &) = delete;
 
     gchar ** array_;
 };
@@ -211,8 +211,8 @@ public:
     DConfChangeset * get() const { return changeset_; }
 
 private:
-    ChangesetHolder(ChangesetHolder &) = delete;
-    void operator =(ChangesetHolder) = delete;
+    ChangesetHolder(ChangesetHolder const &) = delete;
+    ChangesetHolder& operator =(ChangesetHolder const &) = delete;
 
     DConfChangeset * changeset_;
 };
diff --git a/connectivity/source/inc/java/ContextClassLoader.hxx b/connectivity/source/inc/java/ContextClassLoader.hxx
index e441ffb16656..e8fc1ac15725 100644
--- a/connectivity/source/inc/java/ContextClassLoader.hxx
+++ b/connectivity/source/inc/java/ContextClassLoader.hxx
@@ -64,8 +64,8 @@ namespace connectivity { namespace jdbc
         }
 
     private:
-        ContextClassLoaderScope(ContextClassLoaderScope &) = delete;
-        void operator =(ContextClassLoaderScope &) = delete;
+        ContextClassLoaderScope(ContextClassLoaderScope const &) = delete;
+        ContextClassLoaderScope& operator =(ContextClassLoaderScope const &) = delete;
 
         JNIEnv&                             m_environment;
         LocalRef< jobject >                 m_currentThread;
diff --git a/connectivity/source/inc/java/LocalRef.hxx b/connectivity/source/inc/java/LocalRef.hxx
index d197e25e11f8..18beca5e6f36 100644
--- a/connectivity/source/inc/java/LocalRef.hxx
+++ b/connectivity/source/inc/java/LocalRef.hxx
@@ -76,8 +76,8 @@ namespace connectivity { namespace jdbc
         bool    is()  const { return m_object != nullptr; }
 
     private:
-        LocalRef(LocalRef &) = delete;
-        void operator =(LocalRef &) = delete;
+        LocalRef(LocalRef const &) = delete;
+        LocalRef& operator =(LocalRef const &) = delete;
 
         JNIEnv& m_environment;
         T       m_object;
diff --git a/connectivity/source/inc/java/lang/Object.hxx b/connectivity/source/inc/java/lang/Object.hxx
index 95309cb903f7..f82e307279bf 100644
--- a/connectivity/source/inc/java/lang/Object.hxx
+++ b/connectivity/source/inc/java/lang/Object.hxx
@@ -43,8 +43,8 @@ namespace connectivity
     class SDBThreadAttach
     {
         jvmaccess::VirtualMachine::AttachGuard m_aGuard;
-        SDBThreadAttach(SDBThreadAttach&) = delete;
-        SDBThreadAttach& operator= (SDBThreadAttach&) = delete;
+        SDBThreadAttach(SDBThreadAttach const &) = delete;
+        SDBThreadAttach& operator= (SDBThreadAttach const &) = delete;
     public:
         SDBThreadAttach();
         ~SDBThreadAttach();
@@ -65,8 +65,8 @@ namespace connectivity
 
     class  java_lang_Object
     {
-        java_lang_Object& operator= (java_lang_Object&) = delete;
-        java_lang_Object(java_lang_Object&) = delete;
+        java_lang_Object& operator= (java_lang_Object const &) = delete;
+        java_lang_Object(java_lang_Object const &) = delete;
 
     protected:
         // The Java handle to this class
diff --git a/dbaccess/source/core/inc/DatabaseDataProvider.hxx b/dbaccess/source/core/inc/DatabaseDataProvider.hxx
index cb63c28eb9c2..9241d181af41 100644
--- a/dbaccess/source/core/inc/DatabaseDataProvider.hxx
+++ b/dbaccess/source/core/inc/DatabaseDataProvider.hxx
@@ -206,8 +206,8 @@ private:
     virtual double SAL_CALL getNotANumber() override;
     virtual sal_Bool SAL_CALL isNotANumber(double nNumber ) override;
 private:
-    DatabaseDataProvider(DatabaseDataProvider &) = delete;
-    void operator =(DatabaseDataProvider &) = delete;
+    DatabaseDataProvider(DatabaseDataProvider const &) = delete;
+    DatabaseDataProvider& operator =(DatabaseDataProvider const &) = delete;
 
     virtual ~DatabaseDataProvider() override {}
 
diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx
index 49a08f97eeb8..8fd78364f743 100644
--- a/desktop/source/app/officeipcthread.cxx
+++ b/desktop/source/app/officeipcthread.cxx
@@ -427,8 +427,8 @@ struct DbusMessageHolder {
     DBusMessage * message;
 
 private:
-    DbusMessageHolder(DbusMessageHolder &) = delete;
-    void operator =(DbusMessageHolder) = delete;
+    DbusMessageHolder(DbusMessageHolder const &) = delete;
+    DbusMessageHolder& operator =(DbusMessageHolder const &) = delete;
 };
 
 }
diff --git a/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx b/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx
index aee364554899..69115dd001e3 100644
--- a/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx
+++ b/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx
@@ -41,8 +41,8 @@ public:
     virtual void dispose() override;
 
 private:
-    DependencyDialog(DependencyDialog &) = delete;
-    void operator =(DependencyDialog &) = delete;
+    DependencyDialog(DependencyDialog const &) = delete;
+    DependencyDialog& operator =(DependencyDialog const &) = delete;
 
     VclPtr<ListBox>  m_list;
 };
diff --git a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.hxx b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.hxx
index 2f1751c9c87d..ff8fd73a6923 100644
--- a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.hxx
+++ b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.hxx
@@ -85,8 +85,8 @@ public:
 
     bool isBusy();
 private:
-    ExtensionCmdQueue(ExtensionCmdQueue &) = delete;
-    void operator =(ExtensionCmdQueue &) = delete;
+    ExtensionCmdQueue(ExtensionCmdQueue const &) = delete;
+    ExtensionCmdQueue& operator =(ExtensionCmdQueue const &) = delete;
 
     class Thread;
 
diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx
index 6116ca95ee71..f0786a5e7868 100644
--- a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx
+++ b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx
@@ -96,8 +96,8 @@ public:
         css::uno::Sequence< css::uno::Sequence< OUString > > const &rItemList );
 
 private:
-    UpdateDialog(UpdateDialog &) = delete;
-    void operator =(UpdateDialog &) = delete;
+    UpdateDialog(UpdateDialog const &) = delete;
+    UpdateDialog& operator =(UpdateDialog const &) = delete;
 
     struct DisabledUpdate;
     struct SpecificError;
@@ -115,8 +115,8 @@ private:
         sal_uInt16 getItemCount() const;
 
     private:
-        explicit CheckListBox(UpdateDialog::CheckListBox &) = delete;
-        void operator =(UpdateDialog::CheckListBox &) = delete;
+        explicit CheckListBox(UpdateDialog::CheckListBox const &) = delete;
+        void operator =(UpdateDialog::CheckListBox const &) = delete;
 
         virtual void MouseButtonDown(MouseEvent const & event) override;
         virtual void MouseButtonUp(MouseEvent const & event) override;
diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx
index ebb3e1d51ba4..1b3ee4927625 100644
--- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx
+++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx
@@ -66,8 +66,8 @@ public:
     virtual short Execute() override;
 
 private:
-    UpdateInstallDialog(UpdateInstallDialog &) = delete;
-    void operator =(UpdateInstallDialog &) = delete;
+    UpdateInstallDialog(UpdateInstallDialog const &) = delete;
+    UpdateInstallDialog& operator =(UpdateInstallDialog const &) = delete;
 
     class Thread;
     friend class Thread;
diff --git a/desktop/source/deployment/manager/dp_activepackages.hxx b/desktop/source/deployment/manager/dp_activepackages.hxx
index 9d7b7b5ecf41..62c169e1ae7a 100644
--- a/desktop/source/deployment/manager/dp_activepackages.hxx
+++ b/desktop/source/deployment/manager/dp_activepackages.hxx
@@ -83,8 +83,8 @@ public:
     void erase(OUString const & id, OUString const & fileName);
 
 private:
-    ActivePackages(ActivePackages &) = delete;
-    void operator =(ActivePackages &) = delete;
+    ActivePackages(ActivePackages const &) = delete;
+    ActivePackages& operator =(ActivePackages const &) = delete;
 #if HAVE_FEATURE_EXTENSIONS
     ::dp_misc::PersistentMap m_map;
 #endif
diff --git a/dtrans/source/win32/dnd/target.hxx b/dtrans/source/win32/dnd/target.hxx
index 09200f9e2094..9becfe484260 100644
--- a/dtrans/source/win32/dnd/target.hxx
+++ b/dtrans/source/win32/dnd/target.hxx
@@ -103,8 +103,8 @@ private:
 public:
     explicit DropTarget(const Reference<XComponentContext>& rxContext);
     virtual ~DropTarget() override;
-    DropTarget(DropTarget&) = delete;
-    DropTarget &operator= (DropTarget&) = delete;
+    DropTarget(DropTarget const &) = delete;
+    DropTarget &operator= (DropTarget const &) = delete;
 
     // Overrides WeakComponentImplHelper::disposing which is called by
     // WeakComponentImplHelper::dispose
diff --git a/emfio/inc/mtftools.hxx b/emfio/inc/mtftools.hxx
index 4dff8d391e0a..8720573e05fc 100644
--- a/emfio/inc/mtftools.hxx
+++ b/emfio/inc/mtftools.hxx
@@ -458,8 +458,8 @@ namespace emfio
 
     class EMFIO_DLLPUBLIC MtfTools
     {
-        MtfTools(MtfTools &) = delete;
-        void operator =(MtfTools) = delete;
+        MtfTools(MtfTools const &) = delete;
+        MtfTools& operator =(MtfTools const &) = delete;
 
     protected:
         WinMtfPathObj       maPathObj;
diff --git a/framework/inc/services/uriabbreviation.hxx b/framework/inc/services/uriabbreviation.hxx
index f0f881435095..3e172bc6956b 100644
--- a/framework/inc/services/uriabbreviation.hxx
+++ b/framework/inc/services/uriabbreviation.hxx
@@ -47,8 +47,8 @@ public:
     virtual OUString SAL_CALL abbreviateString(const css::uno::Reference< css::util::XStringWidth > & xStringWidth, ::sal_Int32 nWidth, const OUString & aString) override;
 
 private:
-    UriAbbreviation(UriAbbreviation &) = delete;
-    void operator =(UriAbbreviation &) = delete;
+    UriAbbreviation(UriAbbreviation const &) = delete;
+    UriAbbreviation& operator =(UriAbbreviation const &) = delete;
 
     virtual ~UriAbbreviation() override {}
 };
diff --git a/include/codemaker/exceptiontree.hxx b/include/codemaker/exceptiontree.hxx
index 7118006ef71b..389593fd57be 100644
--- a/include/codemaker/exceptiontree.hxx
+++ b/include/codemaker/exceptiontree.hxx
@@ -55,8 +55,8 @@ struct ExceptionTreeNode {
     Children children;
 
 private:
-    ExceptionTreeNode(ExceptionTreeNode &) = delete;
-    void operator =(ExceptionTreeNode) = delete;
+    ExceptionTreeNode(ExceptionTreeNode const &) = delete;
+    ExceptionTreeNode& operator =(ExceptionTreeNode const &) = delete;
 
     void clearChildren();
 };
@@ -106,8 +106,8 @@ public:
     ExceptionTreeNode const & getRoot() const { return m_root; }
 
 private:
-    ExceptionTree(ExceptionTree &) = delete;
-    void operator =(const ExceptionTree&) = delete;
+    ExceptionTree(ExceptionTree const &) = delete;
+    ExceptionTree& operator =(const ExceptionTree&) = delete;
 
     ExceptionTreeNode m_root;
 };
diff --git a/include/codemaker/generatedtypeset.hxx b/include/codemaker/generatedtypeset.hxx
index e9859f37c999..d82c8fb1cb20 100644
--- a/include/codemaker/generatedtypeset.hxx
+++ b/include/codemaker/generatedtypeset.hxx
@@ -58,8 +58,8 @@ public:
     { return m_set.find(type) != m_set.end(); }
 
 private:
-    GeneratedTypeSet(GeneratedTypeSet &) = delete;
-    void operator =(const GeneratedTypeSet&) = delete;
+    GeneratedTypeSet(GeneratedTypeSet const &) = delete;
+    GeneratedTypeSet& operator =(GeneratedTypeSet const &) = delete;
 
     std::unordered_set< OString > m_set;
 };
diff --git a/include/comphelper/asyncnotification.hxx b/include/comphelper/asyncnotification.hxx
index bc2ebf54f675..3ec50176f786 100644
--- a/include/comphelper/asyncnotification.hxx
+++ b/include/comphelper/asyncnotification.hxx
@@ -44,8 +44,8 @@ namespace comphelper
         virtual ~AnyEvent() override;
 
     private:
-        AnyEvent( AnyEvent& ) = delete;
-        void operator=( AnyEvent& ) = delete;
+        AnyEvent( AnyEvent const & ) = delete;
+        AnyEvent& operator=( AnyEvent const & ) = delete;
     };
 
 
diff --git a/include/editeng/swafopt.hxx b/include/editeng/swafopt.hxx
index f3b34adb32a7..0d4e6ba310e8 100644
--- a/include/editeng/swafopt.hxx
+++ b/include/editeng/swafopt.hxx
@@ -57,7 +57,7 @@ class SortedAutoCompleteStrings
 {
     bool owning_;
 
-    void operator =(SortedAutoCompleteStrings) = delete;
+    SortedAutoCompleteStrings& operator =(SortedAutoCompleteStrings const &) = delete;
 
 #if !HAVE_CPP_GUARANTEED_COPY_ELISION
 public:
diff --git a/include/jvmaccess/unovirtualmachine.hxx b/include/jvmaccess/unovirtualmachine.hxx
index c39d985a0cf6..efddbee3eeb0 100644
--- a/include/jvmaccess/unovirtualmachine.hxx
+++ b/include/jvmaccess/unovirtualmachine.hxx
@@ -88,8 +88,8 @@ public:
     void * getClassLoader() const { return m_classLoader;}
 
 private:
-    UnoVirtualMachine(UnoVirtualMachine &) = delete;
-    void operator =(UnoVirtualMachine &) = delete;
+    UnoVirtualMachine(UnoVirtualMachine const &) = delete;
+    UnoVirtualMachine& operator =(UnoVirtualMachine const &) = delete;
 
     virtual ~UnoVirtualMachine() override;
 
diff --git a/include/jvmaccess/virtualmachine.hxx b/include/jvmaccess/virtualmachine.hxx
index 21c507290f18..69931dfeeced 100644
--- a/include/jvmaccess/virtualmachine.hxx
+++ b/include/jvmaccess/virtualmachine.hxx
@@ -82,8 +82,8 @@ public:
         JNIEnv * getEnvironment() const { return m_pEnvironment; }
 
     private:
-        AttachGuard(AttachGuard &) = delete;
-        void operator =(AttachGuard) = delete;
+        AttachGuard(AttachGuard const &) = delete;
+        AttachGuard& operator =(AttachGuard const &) = delete;
 
         rtl::Reference< VirtualMachine > m_xMachine;
         JNIEnv * m_pEnvironment;
@@ -128,8 +128,8 @@ public:
                    JNIEnv const * pMainThreadEnv);
 
 private:
-    VirtualMachine(VirtualMachine &) = delete;
-    void operator =(VirtualMachine) = delete;
+    VirtualMachine(VirtualMachine const &) = delete;
+    VirtualMachine& operator =(VirtualMachine const & ) = delete;
 
     virtual ~VirtualMachine() override;
 
diff --git a/include/registry/writer.hxx b/include/registry/writer.hxx
index 17d6838bd831..4bf6724610cf 100644
--- a/include/registry/writer.hxx
+++ b/include/registry/writer.hxx
@@ -278,8 +278,8 @@ public:
     }
 
 private:
-    Writer(Writer &) = delete;
-    void operator =(Writer) = delete;
+    Writer(Writer const &) = delete;
+    Writer& operator =(Writer const &) = delete;
 
     void * m_handle;
 };
diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx
index 1c3e2b37caa6..703998b3644a 100644
--- a/include/sfx2/basedlgs.hxx
+++ b/include/sfx2/basedlgs.hxx
@@ -50,8 +50,8 @@ class SFX2_DLLPUBLIC SfxModalDialog: public ModalDialog
     std::unique_ptr<SfxItemSet> pOutputSet;
 
 private:
-    SfxModalDialog(SfxModalDialog &) = delete;
-    void operator =(SfxModalDialog &) = delete;
+    SfxModalDialog(SfxModalDialog const &) = delete;
+    SfxModalDialog& operator =(SfxModalDialog const &) = delete;
 
     SAL_DLLPRIVATE void SetDialogData_Impl();
     SAL_DLLPRIVATE void GetDialogData_Impl();
@@ -81,8 +81,8 @@ class SFX2_DLLPUBLIC SfxModelessDialog: public ModelessDialog
     Size                    aSize;
     std::unique_ptr< SfxModelessDialog_Impl > pImpl;
 
-    SfxModelessDialog(SfxModelessDialog &) = delete;
-    void operator =(SfxModelessDialog &) = delete;
+    SfxModelessDialog(SfxModelessDialog const &) = delete;
+    SfxModelessDialog& operator =(SfxModelessDialog const &) = delete;
 
     void Init(SfxBindings *pBindinx, SfxChildWindow *pCW);
 
@@ -150,8 +150,8 @@ class SFX2_DLLPUBLIC SfxFloatingWindow: public FloatingWindow
     Size                    aSize;
     std::unique_ptr< SfxFloatingWindow_Impl > pImpl;
 
-    SfxFloatingWindow(SfxFloatingWindow &) = delete;
-    void operator =(SfxFloatingWindow &) = delete;
+    SfxFloatingWindow(SfxFloatingWindow const &) = delete;
+    SfxFloatingWindow& operator =(SfxFloatingWindow const &) = delete;
 
 protected:
                             SfxFloatingWindow( SfxBindings *pBindings,
diff --git a/include/sfx2/dockwin.hxx b/include/sfx2/dockwin.hxx
index 6d6d681a26c2..e75c043f0c19 100644
--- a/include/sfx2/dockwin.hxx
+++ b/include/sfx2/dockwin.hxx
@@ -48,8 +48,8 @@ private:
     SfxChildWindow*         pMgr;
     std::unique_ptr< SfxDockingWindow_Impl >  pImpl;
 
-    SfxDockingWindow(SfxDockingWindow &) = delete;
-    void operator =(SfxDockingWindow &) = delete;
+    SfxDockingWindow(SfxDockingWindow const &) = delete;
+    SfxDockingWindow& operator =(SfxDockingWindow const &) = delete;
 
 protected:
     SfxChildAlignment   CalcAlignment(const Point& rPos, tools::Rectangle& rRect );
diff --git a/include/sfx2/printer.hxx b/include/sfx2/printer.hxx
index d7d690e78ea8..4231baee4fa8 100644
--- a/include/sfx2/printer.hxx
+++ b/include/sfx2/printer.hxx
@@ -36,7 +36,7 @@ private:
     std::unique_ptr<SfxItemSet> pOptions;
     bool                    bKnown;
 
-    SAL_DLLPRIVATE void operator =(SfxPrinter &) = delete;
+    SfxPrinter& operator =(SfxPrinter const &) = delete;
 
 public:
                             SfxPrinter( std::unique_ptr<SfxItemSet> &&pTheOptions );
diff --git a/include/sfx2/tbxctrl.hxx b/include/sfx2/tbxctrl.hxx
index d524ba892400..b309187139be 100644
--- a/include/sfx2/tbxctrl.hxx
+++ b/include/sfx2/tbxctrl.hxx
@@ -75,8 +75,8 @@ friend class SfxFrameStatusListener;
     rtl::Reference<SfxFrameStatusListener>                 m_xStatusListener;
 
 private:
-    SfxPopupWindow(SfxPopupWindow &) = delete;
-    void operator =(SfxPopupWindow &) = delete;
+    SfxPopupWindow(SfxPopupWindow const &) = delete;
+    SfxPopupWindow& operator =(SfxPopupWindow const &) = delete;
     void Delete();
 
 protected:
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx
index 2b8ce9ee299a..d61cda9dba39 100644
--- a/include/svtools/editbrowsebox.hxx
+++ b/include/svtools/editbrowsebox.hxx
@@ -447,8 +447,8 @@ namespace svt
         };
 
     private:
-        EditBrowseBox(EditBrowseBox&) = delete;
-        EditBrowseBox& operator=(EditBrowseBox&) = delete;
+        EditBrowseBox(EditBrowseBox const &) = delete;
+        EditBrowseBox& operator=(EditBrowseBox const &) = delete;
 
         class BrowserMouseEventPtr
         {
diff --git a/include/svtools/javacontext.hxx b/include/svtools/javacontext.hxx
index 8372c1a6562b..19b6f26acdd6 100644
--- a/include/svtools/javacontext.hxx
+++ b/include/svtools/javacontext.hxx
@@ -58,8 +58,8 @@ namespace svt
         virtual css::uno::Any SAL_CALL getValueByName( const OUString& Name ) override;
 
     private:
-        JavaContext(JavaContext&) = delete;
-        JavaContext& operator = (JavaContext&) = delete;
+        JavaContext(JavaContext const &) = delete;
+        JavaContext& operator = (JavaContext const &) = delete;
 
         oslInterlockedCount                                  m_aRefCount;
         css::uno::Reference< css::uno::XCurrentContext >     m_xNextContext;
diff --git a/include/svx/sdr/table/tablecontroller.hxx b/include/svx/sdr/table/tablecontroller.hxx
index 8ac275295314..0df41c9648b8 100644
--- a/include/svx/sdr/table/tablecontroller.hxx
+++ b/include/svx/sdr/table/tablecontroller.hxx
@@ -124,8 +124,8 @@ public:
     bool isColumnHeader();
     sdr::table::SdrTableObj* GetTableObj() { return mxTableObj.get(); }
 private:
-    SvxTableController(SvxTableController &) = delete;
-    void operator =(SvxTableController &) = delete;
+    SvxTableController(SvxTableController const &) = delete;
+    SvxTableController& operator =(SvxTableController const &) = delete;
 
     // internals
     enum class TblAction
diff --git a/include/svx/tbxcolorupdate.hxx b/include/svx/tbxcolorupdate.hxx
index 8f5b7902b757..03b6a091a8eb 100644
--- a/include/svx/tbxcolorupdate.hxx
+++ b/include/svx/tbxcolorupdate.hxx
@@ -54,8 +54,8 @@ namespace svx
         Color const & GetCurrentColor() const { return maCurColor; }
 
     private:
-        ToolboxButtonColorUpdater(ToolboxButtonColorUpdater &) = delete;
-        void operator =(ToolboxButtonColorUpdater) = delete;
+        ToolboxButtonColorUpdater(ToolboxButtonColorUpdater const &) = delete;
+        ToolboxButtonColorUpdater& operator =(ToolboxButtonColorUpdater const &) = delete;
 
         bool const            mbWideButton;
         sal_uInt16 const      mnBtnId;
diff --git a/include/unoidl/unoidl.hxx b/include/unoidl/unoidl.hxx
index 24fa7b27ef07..89a7dd593863 100644
--- a/include/unoidl/unoidl.hxx
+++ b/include/unoidl/unoidl.hxx
@@ -37,7 +37,7 @@ public:
     const OUString& getUri() const { return uri_; }
 
 private:
-    void operator =(NoSuchFileException) = delete;
+    NoSuchFileException& operator =(NoSuchFileException const &) = delete;
 
     OUString const uri_;
 };
@@ -60,7 +60,7 @@ public:
     const OUString& getDetail() const { return detail_; }
 
 private:
-    void operator =(FileFormatException) = delete;
+    FileFormatException& operator =(FileFormatException const &) = delete;
 
     OUString const uri_;
     OUString const detail_;
diff --git a/include/unotools/options.hxx b/include/unotools/options.hxx
index 8df85d04858c..4e0206ace017 100644
--- a/include/unotools/options.hxx
+++ b/include/unotools/options.hxx
@@ -100,8 +100,8 @@ public:
     virtual ~Options() override = 0;
 
 private:
-    Options(Options &) = delete;
-    void operator =(Options &) = delete;
+    Options(Options const &) = delete;
+    Options& operator =(Options const &) = delete;
 
 protected:
     virtual void ConfigurationChanged( ::utl::ConfigurationBroadcaster* p, ConfigurationHints nHint ) override;
diff --git a/include/vcl/uitest/uiobject.hxx b/include/vcl/uitest/uiobject.hxx
index 88bdf0bd6da1..0b673774dc75 100644
--- a/include/vcl/uitest/uiobject.hxx
+++ b/include/vcl/uitest/uiobject.hxx
@@ -38,8 +38,8 @@ typedef std::map<const OUString, OUString> StringMap;
  */
 class UITEST_DLLPUBLIC UIObject
 {
-    UIObject(UIObject &) = delete;
-    void operator =(UIObject) = delete;
+    UIObject(UIObject const &) = delete;
+    UIObject& operator =(UIObject const &) = delete;
 
 public:
     UIObject() = default;
diff --git a/include/vcl/vclevent.hxx b/include/vcl/vclevent.hxx
index 9f1d0e802f91..698fd038bbde 100644
--- a/include/vcl/vclevent.hxx
+++ b/include/vcl/vclevent.hxx
@@ -181,8 +181,8 @@ class VCL_DLLPUBLIC VclSimpleEvent
 private:
     VclEventId nId;
 
-    VclSimpleEvent(VclSimpleEvent &) = delete;
-    void operator =(VclSimpleEvent) = delete;
+    VclSimpleEvent(VclSimpleEvent const &) = delete;
+    VclSimpleEvent& operator =(VclSimpleEvent const &) = delete;
 
 public:
     VclSimpleEvent( VclEventId n ) { nId = n; }
@@ -211,8 +211,8 @@ private:
     VclPtr<Menu> pMenu;
     sal_uInt16 const mnPos;
 
-    VclMenuEvent(VclMenuEvent &) = delete;
-    void operator =(VclMenuEvent) = delete;
+    VclMenuEvent(VclMenuEvent const &) = delete;
+    VclMenuEvent& operator =(VclMenuEvent const &) = delete;
 
 public:
     VclMenuEvent( Menu* pM, VclEventId n, sal_uInt16 nPos );
diff --git a/include/xmloff/SchXMLExportHelper.hxx b/include/xmloff/SchXMLExportHelper.hxx
index ac74e09f8f9f..38544067c63d 100644
--- a/include/xmloff/SchXMLExportHelper.hxx
+++ b/include/xmloff/SchXMLExportHelper.hxx
@@ -57,8 +57,8 @@ public:
     void SetDestinationShellID( const OUString& rShellID );
 
 private:
-    SchXMLExportHelper(SchXMLExportHelper &) = delete;
-    void operator =(SchXMLExportHelper &) = delete;
+    SchXMLExportHelper(SchXMLExportHelper const &) = delete;
+    SchXMLExportHelper& operator =(SchXMLExportHelper const &) = delete;
 
 private:
     std::unique_ptr<SchXMLExportHelper_Impl> m_pImpl;
diff --git a/include/xmloff/prstylei.hxx b/include/xmloff/prstylei.hxx
index 32163f5385dd..8b506b6dc4ad 100644
--- a/include/xmloff/prstylei.hxx
+++ b/include/xmloff/prstylei.hxx
@@ -44,8 +44,8 @@ private:
     css::uno::Reference < css::style::XStyle > mxStyle;
     SvXMLImportContextRef const                mxStyles;
 
-    XMLPropStyleContext(XMLPropStyleContext &) = delete;
-    void operator =(XMLPropStyleContext &) = delete;
+    XMLPropStyleContext(XMLPropStyleContext const &) = delete;
+    XMLPropStyleContext& operator =(XMLPropStyleContext const &) = delete;
 
 protected:
 
diff --git a/include/xmloff/txtparae.hxx b/include/xmloff/txtparae.hxx
index f19080d0c518..5b2099714c0d 100644
--- a/include/xmloff/txtparae.hxx
+++ b/include/xmloff/txtparae.hxx
@@ -528,7 +528,7 @@ public:
     void PopTextListsHelper();
 
 private:
-        XMLTextParagraphExport(XMLTextParagraphExport &) = delete;
+        XMLTextParagraphExport(XMLTextParagraphExport const &) = delete;
 };
 
 inline const XMLTextListAutoStylePool&
diff --git a/include/xmloff/xmlimppr.hxx b/include/xmloff/xmlimppr.hxx
index ec280ead6cf2..fe4cf515ea49 100644
--- a/include/xmloff/xmlimppr.hxx
+++ b/include/xmloff/xmlimppr.hxx
@@ -57,8 +57,8 @@ class XMLOFF_DLLPUBLIC SvXMLImportPropertyMapper : public salhelper::SimpleRefer
 
     SvXMLImport& rImport;   // access to error handling
 
-    SvXMLImportPropertyMapper(SvXMLImportPropertyMapper &) = delete;
-    void operator =(SvXMLImportPropertyMapper &) = delete;
+    SvXMLImportPropertyMapper(SvXMLImportPropertyMapper const &) = delete;
+    SvXMLImportPropertyMapper& operator =(SvXMLImportPropertyMapper const &) = delete;
 
 protected:
 
diff --git a/include/xmloff/xmlstyle.hxx b/include/xmloff/xmlstyle.hxx
index dfeb41e7261d..6d60a1114b73 100644
--- a/include/xmloff/xmlstyle.hxx
+++ b/include/xmloff/xmlstyle.hxx
@@ -168,8 +168,8 @@ class XMLOFF_DLLPUBLIC SvXMLStylesContext : public SvXMLImportContext
 
     SAL_DLLPRIVATE const SvXMLTokenMap& GetStyleStylesElemTokenMap();
 
-    SvXMLStylesContext(SvXMLStylesContext &) = delete;
-    void operator =(SvXMLStylesContext &) = delete;
+    SvXMLStylesContext(SvXMLStylesContext const &) = delete;
+    SvXMLStylesContext& operator =(SvXMLStylesContext const &) = delete;
 
 protected:
 
diff --git a/jvmfwk/inc/elements.hxx b/jvmfwk/inc/elements.hxx
index 5b540c567717..88a785a381fb 100644
--- a/jvmfwk/inc/elements.hxx
+++ b/jvmfwk/inc/elements.hxx
@@ -265,8 +265,8 @@ public:
 class MergedSettings final
 {
 private:
-    const MergedSettings& operator = (MergedSettings&) = delete;
-    MergedSettings(MergedSettings&) = delete;
+    MergedSettings& operator = (MergedSettings const &) = delete;
+    MergedSettings(MergedSettings const &) = delete;
 
     void merge(const NodeJava & share, const NodeJava & user);
 
diff --git a/linguistic/source/gciterator.hxx b/linguistic/source/gciterator.hxx
index 03abfa2ac450..10eb2a4186fd 100644
--- a/linguistic/source/gciterator.hxx
+++ b/linguistic/source/gciterator.hxx
@@ -199,8 +199,8 @@ public:
     virtual css::uno::Any SAL_CALL getValueByIndex(::sal_Int32 nIndex) override;
 
 private:
-    LngXStringKeyMap(LngXStringKeyMap&) = delete;
-    void operator=(LngXStringKeyMap&) = delete;
+    LngXStringKeyMap(LngXStringKeyMap const &) = delete;
+    void operator=(LngXStringKeyMap const &) = delete;
 
     ~LngXStringKeyMap() override{};
 
diff --git a/lotuswordpro/inc/xfilter/xffontfactory.hxx b/lotuswordpro/inc/xfilter/xffontfactory.hxx
index def08f3a24d2..d538f8bce501 100644
--- a/lotuswordpro/inc/xfilter/xffontfactory.hxx
+++ b/lotuswordpro/inc/xfilter/xffontfactory.hxx
@@ -80,7 +80,7 @@ public:
     XFFontFactory();
     ~XFFontFactory();
     XFFontFactory(const XFFontFactory&) = delete;
-void operator=(XFFontFactory&) = delete;
+    XFFontFactory& operator=(XFFontFactory const &) = delete;
 
 private:
     /**
diff --git a/oox/source/shape/ShapeContextHandler.hxx b/oox/source/shape/ShapeContextHandler.hxx
index 2a2e406607d9..478aaa55b0c3 100644
--- a/oox/source/shape/ShapeContextHandler.hxx
+++ b/oox/source/shape/ShapeContextHandler.hxx
@@ -123,8 +123,8 @@ public:
     virtual void SAL_CALL setMediaDescriptor(const css::uno::Sequence<css::beans::PropertyValue>& rMediaDescriptor) override;
 
 private:
-    ShapeContextHandler(ShapeContextHandler &) = delete;
-    void operator =(ShapeContextHandler &) = delete;
+    ShapeContextHandler(ShapeContextHandler const &) = delete;
+    void operator =(ShapeContextHandler const &) = delete;
 
     ::sal_uInt32 mnStartToken;
     css::awt::Point maPosition;
diff --git a/registry/source/reflread.hxx b/registry/source/reflread.hxx
index 35198e31ec22..880b6bcaddc0 100644
--- a/registry/source/reflread.hxx
+++ b/registry/source/reflread.hxx
@@ -103,8 +103,8 @@ public:
     OUString  getFieldFileName( sal_uInt16 index ) const;
 
 private:
-    RegistryTypeReader(RegistryTypeReader &) = delete;
-    void operator =(RegistryTypeReader) = delete;
+    RegistryTypeReader(RegistryTypeReader const &) = delete;
+    void operator =(RegistryTypeReader const &) = delete;
 
     /// stores the handle of an implementation class
     TypeReaderImpl                                              m_hImpl;
diff --git a/registry/source/reflwrit.hxx b/registry/source/reflwrit.hxx
index faecc5c57650..39a703259f64 100644
--- a/registry/source/reflwrit.hxx
+++ b/registry/source/reflwrit.hxx
@@ -90,8 +90,8 @@ public:
     sal_uInt32       getBlopSize();
 
 private:
-    RegistryTypeWriter(RegistryTypeWriter &) = delete;
-    void operator =(RegistryTypeWriter) = delete;
+    RegistryTypeWriter(RegistryTypeWriter const &) = delete;
+    void operator =(RegistryTypeWriter const &) = delete;
 
     /// stores the handle of an implementation class
     TypeWriterImpl                                               m_hImpl;
diff --git a/reportdesign/inc/PropertyForward.hxx b/reportdesign/inc/PropertyForward.hxx
index 9e5ed089d0df..c86858d87720 100644
--- a/reportdesign/inc/PropertyForward.hxx
+++ b/reportdesign/inc/PropertyForward.hxx
@@ -48,8 +48,8 @@ namespace rptui
         css::uno::Reference< css::beans::XPropertySet>        m_xDest;
         css::uno::Reference< css::beans::XPropertySetInfo>    m_xDestInfo;
         bool                                                  m_bInChange;
-        OPropertyMediator(OPropertyMediator&) = delete;
-        void operator =(OPropertyMediator&) = delete;
+        OPropertyMediator(OPropertyMediator const &) = delete;
+        void operator =(OPropertyMediator const &) = delete;
     protected:
         virtual ~OPropertyMediator() override;
 
diff --git a/reportdesign/inc/RptObject.hxx b/reportdesign/inc/RptObject.hxx
index f663a59787f7..f300b58a2dfb 100644
--- a/reportdesign/inc/RptObject.hxx
+++ b/reportdesign/inc/RptObject.hxx
@@ -48,8 +48,8 @@ typedef ::std::multimap< sal_Int16, OUString > IndexToNameMap;
     private:
         DlgEdHintKind const eHintKind;
 
-        DlgEdHint(DlgEdHint&) = delete;
-        void operator =(DlgEdHint&) = delete;
+        DlgEdHint(DlgEdHint const &) = delete;
+        void operator =(DlgEdHint const &) = delete;
     public:
         DlgEdHint( DlgEdHintKind eHint );
         virtual ~DlgEdHint() override;
diff --git a/reportdesign/inc/UndoActions.hxx b/reportdesign/inc/UndoActions.hxx
index 0219c9e39e45..883d409f9e93 100644
--- a/reportdesign/inc/UndoActions.hxx
+++ b/reportdesign/inc/UndoActions.hxx
@@ -161,8 +161,8 @@ namespace rptui
 
     class REPORTDESIGN_DLLPUBLIC OUndoContainerAction: public OCommentUndoAction
     {
-        OUndoContainerAction(OUndoContainerAction&) = delete;
-        void operator =(OUndoContainerAction&) = delete;
+        OUndoContainerAction(OUndoContainerAction const &) = delete;
+        void operator =(OUndoContainerAction const &) = delete;
     protected:
         css::uno::Reference< css::uno::XInterface >
                         m_xElement;     // object not owned by the action
diff --git a/reportdesign/source/core/inc/ReportControlModel.hxx b/reportdesign/source/core/inc/ReportControlModel.hxx
index 1154446671dc..53dcee115d44 100644
--- a/reportdesign/source/core/inc/ReportControlModel.hxx
+++ b/reportdesign/source/core/inc/ReportControlModel.hxx
@@ -71,8 +71,8 @@ namespace reportdesign
     class OReportControlModel
     {
         void checkIndex(sal_Int32 _nIndex);
-        OReportControlModel(OReportControlModel&) = delete;
-        void operator =(OReportControlModel&) = delete;
+        OReportControlModel(OReportControlModel const &) = delete;
+        void operator =(OReportControlModel const &) = delete;
     public:
         ::comphelper::OInterfaceContainerHelper2                  aContainerListeners;
         OReportComponentProperties                          aComponent;
diff --git a/reportdesign/source/filter/xml/xmlExportDocumentHandler.hxx b/reportdesign/source/filter/xml/xmlExportDocumentHandler.hxx
index 2c6a3c9524f6..25fc2ad8ba43 100644
--- a/reportdesign/source/filter/xml/xmlExportDocumentHandler.hxx
+++ b/reportdesign/source/filter/xml/xmlExportDocumentHandler.hxx
@@ -77,8 +77,8 @@ private:
 
     void exportTableRows();
 private:
-    ExportDocumentHandler(ExportDocumentHandler &) = delete;
-    void operator =(ExportDocumentHandler &) = delete;
+    ExportDocumentHandler(ExportDocumentHandler const &) = delete;
+    void operator =(ExportDocumentHandler const &) = delete;
 
     virtual ~ExportDocumentHandler() override;
 
diff --git a/reportdesign/source/filter/xml/xmlImportDocumentHandler.hxx b/reportdesign/source/filter/xml/xmlImportDocumentHandler.hxx
index 64b4b9f23c3d..4f05bf0d8858 100644
--- a/reportdesign/source/filter/xml/xmlImportDocumentHandler.hxx
+++ b/reportdesign/source/filter/xml/xmlImportDocumentHandler.hxx
@@ -74,8 +74,8 @@ private:
     virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
 
 private:
-    ImportDocumentHandler(ImportDocumentHandler &) = delete;
-    void operator =(ImportDocumentHandler &) = delete;
+    ImportDocumentHandler(ImportDocumentHandler const &) = delete;
+    void operator =(ImportDocumentHandler const &) = delete;
 
     virtual ~ImportDocumentHandler() override;
 
diff --git a/reportdesign/source/ui/inc/DataProviderHandler.hxx b/reportdesign/source/ui/inc/DataProviderHandler.hxx
index 8382b7ab1c0c..f36c39400c5c 100644
--- a/reportdesign/source/ui/inc/DataProviderHandler.hxx
+++ b/reportdesign/source/ui/inc/DataProviderHandler.hxx
@@ -91,8 +91,8 @@ namespace rptui
     protected:
         virtual ~DataProviderHandler() override {}
     private:
-        DataProviderHandler(DataProviderHandler &) = delete;
-        void operator =(DataProviderHandler &) = delete;
+        DataProviderHandler(DataProviderHandler const &) = delete;
+        void operator =(DataProviderHandler const &) = delete;
 
 
         bool impl_dialogLinkedFields_nothrow( ::osl::ClearableMutexGuard& _rClearBeforeDialog ) const;
diff --git a/reportdesign/source/ui/inc/DesignView.hxx b/reportdesign/source/ui/inc/DesignView.hxx
index 1b09ff7f896f..843fb2071546 100644
--- a/reportdesign/source/ui/inc/DesignView.hxx
+++ b/reportdesign/source/ui/inc/DesignView.hxx
@@ -80,8 +80,8 @@ namespace rptui
 
         void ImplInitSettings();
 
-        ODesignView(ODesignView&) = delete;
-        void operator =(ODesignView&) = delete;
+        ODesignView(ODesignView const &) = delete;
+        void operator =(ODesignView const &) = delete;
     protected:
         // return the Rectangle where I can paint myself
         virtual void resizeDocumentView(tools::Rectangle& rRect) override;
diff --git a/reportdesign/source/ui/inc/EndMarker.hxx b/reportdesign/source/ui/inc/EndMarker.hxx
index b2a32a78114e..a48eb81067dc 100644
--- a/reportdesign/source/ui/inc/EndMarker.hxx
+++ b/reportdesign/source/ui/inc/EndMarker.hxx
@@ -28,8 +28,8 @@ namespace rptui
      */
     class OEndMarker : public OColorListener
     {
-        OEndMarker(OEndMarker&) = delete;
-        void operator =(OEndMarker&) = delete;
+        OEndMarker(OEndMarker const &) = delete;
+        void operator =(OEndMarker const &) = delete;
     protected:
         virtual void ImplInitSettings() override;
     public:
diff --git a/reportdesign/source/ui/inc/GeometryHandler.hxx b/reportdesign/source/ui/inc/GeometryHandler.hxx
index a44dffec34dc..9a53927e219a 100644
--- a/reportdesign/source/ui/inc/GeometryHandler.hxx
+++ b/reportdesign/source/ui/inc/GeometryHandler.hxx
@@ -278,8 +278,8 @@ namespace rptui
     protected:
         virtual ~GeometryHandler() override;
     private:
-        GeometryHandler(GeometryHandler &) = delete;
-        void operator =(GeometryHandler &) = delete;
+        GeometryHandler(GeometryHandler const &) = delete;
+        void operator =(GeometryHandler const &) = delete;
 
         // override WeakComponentImplHelperBase::disposing()
         // This function is called upon disposing the component,
diff --git a/reportdesign/source/ui/inc/GroupsSorting.hxx b/reportdesign/source/ui/inc/GroupsSorting.hxx
index f8979053de55..001bbf028d89 100644
--- a/reportdesign/source/ui/inc/GroupsSorting.hxx
+++ b/reportdesign/source/ui/inc/GroupsSorting.hxx
@@ -131,8 +131,8 @@ private:
     *
     */
     void fillColumns();
-    OGroupsSortingDialog(OGroupsSortingDialog&) = delete;
-    void operator =(OGroupsSortingDialog&) = delete;
+    OGroupsSortingDialog(OGroupsSortingDialog const &) = delete;
+    void operator =(OGroupsSortingDialog const &) = delete;
 protected:
     // OPropertyChangeListener
     virtual void    _propertyChanged(const css::beans::PropertyChangeEvent& _rEvent) override;
diff --git a/reportdesign/source/ui/inc/ReportComponentHandler.hxx b/reportdesign/source/ui/inc/ReportComponentHandler.hxx
index ade41bf6ad2e..98ea53743c4e 100644
--- a/reportdesign/source/ui/inc/ReportComponentHandler.hxx
+++ b/reportdesign/source/ui/inc/ReportComponentHandler.hxx
@@ -85,8 +85,8 @@ namespace rptui
     protected:
         virtual ~ReportComponentHandler() override {}
     private:
-        ReportComponentHandler(ReportComponentHandler &) = delete;
-        void operator =(ReportComponentHandler &) = delete;
+        ReportComponentHandler(ReportComponentHandler const &) = delete;
+        void operator =(ReportComponentHandler const &) = delete;
 
 
         // override WeakComponentImplHelperBase::disposing()
diff --git a/reportdesign/source/ui/inc/ReportSection.hxx b/reportdesign/source/ui/inc/ReportSection.hxx
index 1fe08ffc2695..ece70bcb1320 100644
--- a/reportdesign/source/ui/inc/ReportSection.hxx
+++ b/reportdesign/source/ui/inc/ReportSection.hxx
@@ -61,8 +61,8 @@ namespace rptui
         */
         void impl_adjustObjectSizePosition(sal_Int32 i_nPaperWidth,sal_Int32 i_nLeftMargin,sal_Int32 i_nRightMargin);
 
-        OReportSection(OReportSection&) = delete;
-        void operator =(OReportSection&) = delete;
+        OReportSection(OReportSection const &) = delete;
+        void operator =(OReportSection const &) = delete;
     protected:
         // DropTargetHelper overridables
         virtual sal_Int8    AcceptDrop( const AcceptDropEvent& _rEvt ) override;
diff --git a/reportdesign/source/ui/inc/ReportWindow.hxx b/reportdesign/source/ui/inc/ReportWindow.hxx
index a474ca258e8d..3e3c16f7eab0 100644
--- a/reportdesign/source/ui/inc/ReportWindow.hxx
+++ b/reportdesign/source/ui/inc/ReportWindow.hxx
@@ -58,8 +58,8 @@ namespace rptui
         sal_Int32 GetTotalHeight() const;
         sal_Int32 impl_getRealPixelWidth() const;
 
-        OReportWindow(OReportWindow&) = delete;
-        void operator =(OReportWindow&) = delete;
+        OReportWindow(OReportWindow const &) = delete;
+        void operator =(OReportWindow const &) = delete;
     protected:
         virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
         // OPropertyChangeListener
diff --git a/reportdesign/source/ui/inc/ScrollHelper.hxx b/reportdesign/source/ui/inc/ScrollHelper.hxx
index 14dbb87130a2..165edf1ed684 100644
--- a/reportdesign/source/ui/inc/ScrollHelper.hxx
+++ b/reportdesign/source/ui/inc/ScrollHelper.hxx
@@ -61,8 +61,8 @@ namespace rptui
         void ImplInitSettings();
         void impl_initScrollBar( ScrollBar& _rScrollBar ) const;
 
-        OScrollWindowHelper(OScrollWindowHelper&) = delete;
-        void operator =(OScrollWindowHelper&) = delete;
+        OScrollWindowHelper(OScrollWindowHelper const &) = delete;
+        void operator =(OScrollWindowHelper const &) = delete;
     protected:
         virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
         // window
diff --git a/reportdesign/source/ui/inc/SectionWindow.hxx b/reportdesign/source/ui/inc/SectionWindow.hxx
index 14610862eace..726e4d513c84 100644
--- a/reportdesign/source/ui/inc/SectionWindow.hxx
+++ b/reportdesign/source/ui/inc/SectionWindow.hxx
@@ -55,8 +55,8 @@ namespace rptui
         ::rtl::Reference< comphelper::OPropertyChangeMultiplexer> m_pSectionMulti;
         ::rtl::Reference< comphelper::OPropertyChangeMultiplexer> m_pGroupMulti;
 
-        OSectionWindow(OSectionWindow&) = delete;
-        void operator =(OSectionWindow&) = delete;
+        OSectionWindow(OSectionWindow const &) = delete;
+        void operator =(OSectionWindow const &) = delete;
 
         /** set the title of the group header or footer
         *
diff --git a/reportdesign/source/ui/inc/StartMarker.hxx b/reportdesign/source/ui/inc/StartMarker.hxx
index 25629b641096..2962553034b9 100644
--- a/reportdesign/source/ui/inc/StartMarker.hxx
+++ b/reportdesign/source/ui/inc/StartMarker.hxx
@@ -48,8 +48,8 @@ namespace rptui
         virtual void ImplInitSettings() override;
         virtual void ApplySettings(vcl::RenderContext& rRenderContext) override;
 
-        OStartMarker(OStartMarker&) = delete;
-        void operator =(OStartMarker&) = delete;
+        OStartMarker(OStartMarker const &) = delete;
+        void operator =(OStartMarker const &) = delete;
     public:
         OStartMarker(OSectionWindow* _pParent,const OUString& _sColorEntry);
         virtual ~OStartMarker() override;
diff --git a/reportdesign/source/ui/inc/ViewsWindow.hxx b/reportdesign/source/ui/inc/ViewsWindow.hxx
index 3a05a2ad7cd3..c8c3a0b8ee6f 100644
--- a/reportdesign/source/ui/inc/ViewsWindow.hxx
+++ b/reportdesign/source/ui/inc/ViewsWindow.hxx
@@ -94,8 +94,8 @@ namespace rptui
         static void collectBoundResizeRect(const TRectangleMap& _rSortRectangles, ControlModification _nControlModification,bool _bAlignAtSection,tools::Rectangle& _rBound,tools::Rectangle& _rResize);
         void impl_resizeSectionWindow(OSectionWindow& _rSectionWindow,Point& _rStartPoint,bool _bSet);
 
-        OViewsWindow(OViewsWindow&) = delete;
-        void operator =(OViewsWindow&) = delete;
+        OViewsWindow(OViewsWindow const &) = delete;
+        void operator =(OViewsWindow const &) = delete;
     protected:
         virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
         // Window overrides
diff --git a/reportdesign/source/ui/inc/propbrw.hxx b/reportdesign/source/ui/inc/propbrw.hxx
index 2fce13d76dc0..f09e8c205ddf 100644
--- a/reportdesign/source/ui/inc/propbrw.hxx
+++ b/reportdesign/source/ui/inc/propbrw.hxx
@@ -59,8 +59,8 @@ class PropBrw final : public DockingWindow , public SfxListener, public SfxBroad
     OSectionView*       m_pView;
     bool                m_bInitialStateChange;
 
-    PropBrw(PropBrw&) = delete;
-    void operator =(PropBrw&) = delete;
+    PropBrw(PropBrw const &) = delete;
+    void operator =(PropBrw const &) = delete;
 
     virtual void Resize() override;
     virtual bool Close() override;
diff --git a/sc/source/ui/inc/formdata.hxx b/sc/source/ui/inc/formdata.hxx
index 28fa69398a33..f7d7dca2ed0c 100644
--- a/sc/source/ui/inc/formdata.hxx
+++ b/sc/source/ui/inc/formdata.hxx
@@ -39,8 +39,8 @@ public:
     virtual void            SaveValues() override;
 
 private:
-    ScFormEditData(ScFormEditData &) = delete;
-    void operator =(ScFormEditData) = delete;
+    ScFormEditData(ScFormEditData const &) = delete;
+    void operator =(ScFormEditData const &) = delete;
 
     ScInputHandler*     pInputHandler;
     ScDocShell*         pScDocShell;
diff --git a/sd/inc/helper/simplereferencecomponent.hxx b/sd/inc/helper/simplereferencecomponent.hxx
index 64ab641fc6bc..759e1c70b2f1 100644
--- a/sd/inc/helper/simplereferencecomponent.hxx
+++ b/sd/inc/helper/simplereferencecomponent.hxx
@@ -56,9 +56,8 @@ protected:
 private:
     oslInterlockedCount m_nCount;
 
-    SimpleReferenceComponent(SimpleReferenceComponent &) = delete;
-
-    void operator =(SimpleReferenceComponent) = delete;
+    SimpleReferenceComponent(SimpleReferenceComponent const &) = delete;
+    void operator =(SimpleReferenceComponent const &) = delete;
 
     bool mbDisposed;
 };
diff --git a/sd/source/ui/inc/AccessibleViewForwarder.hxx b/sd/source/ui/inc/AccessibleViewForwarder.hxx
index 392f94b85487..4172f17b4b77 100644
--- a/sd/source/ui/inc/AccessibleViewForwarder.hxx
+++ b/sd/source/ui/inc/AccessibleViewForwarder.hxx
@@ -85,8 +85,8 @@ private:
     SdrPaintView* const mpView;
     sal_uInt16 mnWindowId;
 
-    AccessibleViewForwarder (AccessibleViewForwarder&) = delete;
-    AccessibleViewForwarder& operator= (AccessibleViewForwarder&) = delete;
+    AccessibleViewForwarder (AccessibleViewForwarder const &) = delete;
+    AccessibleViewForwarder& operator= (AccessibleViewForwarder const &) = delete;
 };
 
 } // end of namespace accessibility
diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx
index 63b67ad40f9f..7a36a8f0a0e8 100644
--- a/sd/source/ui/slideshow/slideshowimpl.hxx
+++ b/sd/source/ui/slideshow/slideshowimpl.hxx
@@ -233,8 +233,8 @@ public:
     void mouseButtonUp(const MouseEvent& rMEvt);
 
 private:
-    SlideshowImpl(SlideshowImpl &) = delete;
-    void operator =(SlideshowImpl &) = delete;
+    SlideshowImpl(SlideshowImpl const &) = delete;
+    void operator =(SlideshowImpl const &) = delete;
 
     virtual ~SlideshowImpl() override;
 
diff --git a/sfx2/inc/bitset.hxx b/sfx2/inc/bitset.hxx
index fc29dbd67ecb..e9c39b84b4ae 100644
--- a/sfx2/inc/bitset.hxx
+++ b/sfx2/inc/bitset.hxx
@@ -31,8 +31,8 @@ private:
     IndexBitSet& operator-=( sal_uInt16 nBit );
     bool Contains( sal_uInt16 nBit ) const;
 
-    IndexBitSet(IndexBitSet &) = delete;
-    void operator =(IndexBitSet) = delete;
+    IndexBitSet(IndexBitSet const &) = delete;
+    void operator =(IndexBitSet const &) = delete;
 
 public:
     IndexBitSet();
diff --git a/sfx2/source/appl/imestatuswindow.hxx b/sfx2/source/appl/imestatuswindow.hxx
index f9df1c623950..79bf806328b6 100644
--- a/sfx2/source/appl/imestatuswindow.hxx
+++ b/sfx2/source/appl/imestatuswindow.hxx
@@ -87,7 +87,7 @@ public:
     using ImeStatusWindow_Impl::operator delete;
 
 private:
-    ImeStatusWindow(ImeStatusWindow &) = delete;
+    ImeStatusWindow(ImeStatusWindow const &) = delete;
     void operator =(const ImeStatusWindow&) = delete;
 
     virtual ~ImeStatusWindow() override;
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index f94a6cf18d3f..f47ce3020efd 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -435,7 +435,7 @@ class SfxSaveGuard
         IMPL_SfxBaseModel_DataContainer* m_pData;
         std::unique_ptr<SfxOwnFramesLocker> m_pFramesLock;
 
-        SfxSaveGuard(SfxSaveGuard &) = delete;
+        SfxSaveGuard(SfxSaveGuard const &) = delete;
         void operator =(const SfxSaveGuard&) = delete;
 
     public:
diff --git a/slideshow/source/inc/shapesubset.hxx b/slideshow/source/inc/shapesubset.hxx
index b2464778ef57..8ca6b50f1e6c 100644
--- a/slideshow/source/inc/shapesubset.hxx
+++ b/slideshow/source/inc/shapesubset.hxx
@@ -95,7 +95,7 @@ namespace slideshow
             // ctor, and deleted copy assignment op, see the "TODO(Q1)" comment in
             // CloningNodeCreator (slideshow/source/engine/animationnodes/animationnodefactory.cxx):
             ShapeSubset(ShapeSubset const &) = default;
-            void operator =(ShapeSubset) = delete;
+            void operator =(ShapeSubset const &) = delete;
 
             /** Get the actual subset shape.
 
diff --git a/stoc/source/javavm/interact.hxx b/stoc/source/javavm/interact.hxx
index 0f1789a4746f..27afa8b23309 100644
--- a/stoc/source/javavm/interact.hxx
+++ b/stoc/source/javavm/interact.hxx
@@ -50,7 +50,7 @@ public:
 private:
     class RetryContinuation;
 
-    InteractionRequest(InteractionRequest &) = delete;
+    InteractionRequest(InteractionRequest const &) = delete;
     void operator =(const InteractionRequest&) = delete;
 
     virtual ~InteractionRequest() override;
diff --git a/stoc/source/javavm/javavm.hxx b/stoc/source/javavm/javavm.hxx
index a8883f1ddffb..50c0dfbee940 100644
--- a/stoc/source/javavm/javavm.hxx
+++ b/stoc/source/javavm/javavm.hxx
@@ -106,7 +106,7 @@ public:
     elementReplaced(css::container::ContainerEvent const & rEvent) override;
 
 private:
-    JavaVirtualMachine(JavaVirtualMachine &) = delete;
+    JavaVirtualMachine(JavaVirtualMachine const &) = delete;
     void operator =(const JavaVirtualMachine&) = delete;
 
     virtual ~JavaVirtualMachine() override;
diff --git a/stoc/source/uriproc/UriReference.hxx b/stoc/source/uriproc/UriReference.hxx
index 0c60636a8e56..2c671133bfab 100644
--- a/stoc/source/uriproc/UriReference.hxx
+++ b/stoc/source/uriproc/UriReference.hxx
@@ -100,8 +100,8 @@ public:
     bool m_hasFragment;
 
 private:
-    UriReference(UriReference &) = delete;
-    void operator =(UriReference) = delete;
+    UriReference(UriReference const &) = delete;
+    void operator =(UriReference const &) = delete;
 
     void appendSchemeSpecificPart(OUStringBuffer & buffer) const;
 };
diff --git a/sw/inc/IMark.hxx b/sw/inc/IMark.hxx
index 3761b0ea08fb..ba49320040bd 100644
--- a/sw/inc/IMark.hxx
+++ b/sw/inc/IMark.hxx
@@ -75,7 +75,7 @@ namespace sw { namespace mark
             virtual OUString ToString( ) const =0;
             virtual void dumpAsXml(struct _xmlTextWriter* pWriter) const = 0;
         private:
-            IMark(IMark&) = delete;
+            IMark(IMark const &) = delete;
             IMark &operator =(IMark const&) = delete;
     };
 
@@ -95,7 +95,7 @@ namespace sw { namespace mark
             virtual void Hide(bool hide) =0;
             virtual void SetHideCondition(const OUString&) =0;
         private:
-            IBookmark(IBookmark&) = delete;
+            IBookmark(IBookmark const &) = delete;
             IBookmark &operator =(IBookmark const&) = delete;
     };
 
@@ -118,7 +118,7 @@ namespace sw { namespace mark
             virtual void SetFieldHelptext(const OUString& rFieldHelptext) =0;
             virtual void Invalidate() = 0;
         private:
-            IFieldmark(IFieldmark&) = delete;
+            IFieldmark(IFieldmark const &) = delete;
             IFieldmark &operator =(IFieldmark const&) = delete;
     };
 
@@ -132,7 +132,7 @@ namespace sw { namespace mark
             virtual bool IsChecked() const =0;
             virtual void SetChecked(bool checked) =0;
         private:
-            ICheckboxFieldmark(ICheckboxFieldmark&) = delete;
+            ICheckboxFieldmark(ICheckboxFieldmark const &) = delete;
             ICheckboxFieldmark &operator =(ICheckboxFieldmark const&) = delete;
     };
 
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx
index d470ea12a9ac..891664cdbddc 100644
--- a/sw/inc/calbck.hxx
+++ b/sw/inc/calbck.hxx
@@ -183,7 +183,7 @@ class SW_DLLPUBLIC SwModify: public SwClient
     virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) override
         { NotifyClients( pOld, pNew ); };
 
-    SwModify(SwModify&) = delete;
+    SwModify(SwModify const &) = delete;
     SwModify &operator =(const SwModify&) = delete;
 public:
     SwModify()
@@ -241,7 +241,7 @@ namespace sw
         ListenerEntry(SwClient *const pTellHim, SwModify *const pDepend)
             : SwClient(pDepend), m_pToTell(pTellHim)
         {}
-        ListenerEntry(ListenerEntry&) = delete;
+        ListenerEntry(ListenerEntry const &) = delete;
         ListenerEntry& operator=(ListenerEntry const&) = delete;
         ListenerEntry(ListenerEntry&& other) noexcept
             : SwClient(std::move(other))
diff --git a/sw/inc/finalthreadmanager.hxx b/sw/inc/finalthreadmanager.hxx
index b23204529298..587afbeb83f1 100644
--- a/sw/inc/finalthreadmanager.hxx
+++ b/sw/inc/finalthreadmanager.hxx
@@ -64,8 +64,8 @@ public:
     virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
 
 private:
-    FinalThreadManager(FinalThreadManager &) = delete;
-    void operator =(FinalThreadManager &) = delete;
+    FinalThreadManager(FinalThreadManager const &) = delete;
+    void operator =(FinalThreadManager const &) = delete;
 
     virtual ~FinalThreadManager() override;
 
diff --git a/sw/source/core/docnode/cancellablejob.hxx b/sw/source/core/docnode/cancellablejob.hxx
index ac3a8ed18c4f..23606ed96f4c 100644
--- a/sw/source/core/docnode/cancellablejob.hxx
+++ b/sw/source/core/docnode/cancellablejob.hxx
@@ -37,8 +37,8 @@ public:
     virtual void SAL_CALL cancel() override;
 
 private:
-    CancellableJob( CancellableJob& ) = delete;
-    void operator =( CancellableJob& ) = delete;
+    CancellableJob( CancellableJob const & ) = delete;
+    void operator =( CancellableJob const & ) = delete;
 
     ::rtl::Reference< ObservableThread > mrThread;
 };
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx
index 5a9db1f0634a..d30f3d3bf97e 100644
--- a/sw/source/core/inc/txtfrm.hxx
+++ b/sw/source/core/inc/txtfrm.hxx
@@ -872,8 +872,8 @@ protected:
     }
 
 private:
-    TemporarySwap(TemporarySwap &) = delete;
-    void operator =(TemporarySwap &) = delete;
+    TemporarySwap(TemporarySwap const &) = delete;
+    void operator =(TemporarySwap const &) = delete;
 
     SwTextFrame * m_frame;
     bool m_undo;
diff --git a/sw/source/core/inc/unotextmarkup.hxx b/sw/source/core/inc/unotextmarkup.hxx
index d3f63063e22d..e0e1551c169f 100644
--- a/sw/source/core/inc/unotextmarkup.hxx
+++ b/sw/source/core/inc/unotextmarkup.hxx
@@ -96,8 +96,8 @@ public:
     virtual css::uno::Any SAL_CALL getValueByIndex(::sal_Int32 nIndex) override;
 
 private:
-    SwXStringKeyMap(SwXStringKeyMap &) = delete;
-    void operator =(SwXStringKeyMap &) = delete;
+    SwXStringKeyMap(SwXStringKeyMap const &) = delete;
+    void operator =(SwXStringKeyMap const &) = delete;
 
     virtual ~SwXStringKeyMap() override {}
 
diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx
index db7ea154cc4c..5f4d441aa5b5 100644
--- a/sw/source/filter/ww8/wrtww8.hxx
+++ b/sw/source/filter/ww8/wrtww8.hxx
@@ -1208,7 +1208,7 @@ private:
     sal_uInt8 const nTyp;
 
     WW8_WrPlcFootnoteEdn(const WW8_WrPlcFootnoteEdn&) = delete;
-    WW8_WrPlcFootnoteEdn& operator=(WW8_WrPlcFootnoteEdn &) = delete;
+    WW8_WrPlcFootnoteEdn& operator=(WW8_WrPlcFootnoteEdn const &) = delete;
 public:
     explicit WW8_WrPlcFootnoteEdn( sal_uInt8 nTTyp ) : nTyp( nTTyp ) {}
 
@@ -1234,7 +1234,7 @@ class WW8_WrPlcAnnotations : public WW8_WrPlcSubDoc  // double Plc for Postits
 {
 private:
     WW8_WrPlcAnnotations(const WW8_WrPlcAnnotations&) = delete;
-    WW8_WrPlcAnnotations& operator=(WW8_WrPlcAnnotations&) = delete;
+    WW8_WrPlcAnnotations& operator=(WW8_WrPlcAnnotations const &) = delete;
     std::set<const SwRedlineData*> maProcessedRedlines;
 
     std::map<const OUString, WW8_CP> m_aRangeStartPositions;
@@ -1258,7 +1258,7 @@ private:
     virtual const std::vector<sal_uInt32>* GetShapeIdArr() const override;
 
     WW8_WrPlcTextBoxes(const WW8_WrPlcTextBoxes&) = delete;
-    WW8_WrPlcTextBoxes& operator=(WW8_WrPlcTextBoxes&) = delete;
+    WW8_WrPlcTextBoxes& operator=(WW8_WrPlcTextBoxes const &) = delete;
 public:
     explicit WW8_WrPlcTextBoxes( sal_uInt8 nTTyp ) : nTyp( nTTyp ) {}
 
diff --git a/sw/source/uibase/inc/toxmgr.hxx b/sw/source/uibase/inc/toxmgr.hxx
index e665b4d63f3d..6f0ccc290721 100644
--- a/sw/source/uibase/inc/toxmgr.hxx
+++ b/sw/source/uibase/inc/toxmgr.hxx
@@ -66,8 +66,8 @@ class SW_DLLPUBLIC SwTOXDescription
     //TODO: TemplateNames
     //const String* pTemplateName = 0, ???
 
-    SwTOXDescription(SwTOXDescription&) = delete;
-    SwTOXDescription & operator= (SwTOXDescription&) = delete;
+    SwTOXDescription(SwTOXDescription const &) = delete;
+    SwTOXDescription & operator= (SwTOXDescription const &) = delete;
 
 public:
     // single argument ctors shall be explicit.
@@ -181,8 +181,8 @@ class SwTOXMarkDescription
     boost::optional<OUString>  maPhoneticReadingOfPrimKey;
     boost::optional<OUString>  maPhoneticReadingOfSecKey;
 
-    SwTOXMarkDescription(SwTOXMarkDescription&) = delete;
-    SwTOXMarkDescription & operator= (SwTOXMarkDescription&) = delete;
+    SwTOXMarkDescription(SwTOXMarkDescription const &) = delete;
+    SwTOXMarkDescription & operator= (SwTOXMarkDescription const &) = delete;
 
 public:
     // single argument ctors shall be explicit.
diff --git a/testtools/source/bridgetest/currentcontextchecker.hxx b/testtools/source/bridgetest/currentcontextchecker.hxx
index b2d2d960dddc..8ffc9f5fe045 100644
--- a/testtools/source/bridgetest/currentcontextchecker.hxx
+++ b/testtools/source/bridgetest/currentcontextchecker.hxx
@@ -47,8 +47,8 @@ public:
         ::sal_Int32 setSteps, ::sal_Int32 checkSteps) override;
 
 private:
-    CurrentContextChecker(CurrentContextChecker &) = delete;
-    void operator =(CurrentContextChecker &) = delete;
+    CurrentContextChecker(CurrentContextChecker const &) = delete;
+    void operator =(CurrentContextChecker const &) = delete;
 
     SAL_DLLPRIVATE bool performCheck(
         css::uno::Reference< ::test::testtools::bridgetest::XCurrentContextChecker > const & other,
diff --git a/ucb/source/ucp/file/filrec.hxx b/ucb/source/ucp/file/filrec.hxx
index e3963d9e1807..ae2cf89f7a53 100644
--- a/ucb/source/ucp/file/filrec.hxx
+++ b/ucb/source/ucp/file/filrec.hxx
@@ -33,9 +33,8 @@ class ReconnectingFile
 
     bool        m_bDisconnect;
 
-    ReconnectingFile( ReconnectingFile& ) = delete;
-
-    ReconnectingFile& operator=( ReconnectingFile& ) = delete;
+    ReconnectingFile( ReconnectingFile const & ) = delete;
+    ReconnectingFile& operator=( ReconnectingFile const & ) = delete;
 
 public:
 
diff --git a/uui/source/iahndl.hxx b/uui/source/iahndl.hxx
index 9bb7fda8909b..9614e4aa908c 100644
--- a/uui/source/iahndl.hxx
+++ b/uui/source/iahndl.hxx
@@ -78,8 +78,8 @@ private:
             css::uno::Reference< css::awt::XWindow >                m_xWindowParam;
             const OUString                                          m_aContextParam;
             StringHashMap                                           m_aTypedCustomHandlers;
-    UUIInteractionHelper(UUIInteractionHelper &) = delete;
-    void operator =(const UUIInteractionHelper&) = delete;
+    UUIInteractionHelper(UUIInteractionHelper const &) = delete;
+    UUIInteractionHelper& operator =(UUIInteractionHelper const &) = delete;
 
 public:
     UUIInteractionHelper(
diff --git a/uui/source/requeststringresolver.hxx b/uui/source/requeststringresolver.hxx
index 7a9bf0237623..27a94e6ba299 100644
--- a/uui/source/requeststringresolver.hxx
+++ b/uui/source/requeststringresolver.hxx
@@ -40,8 +40,8 @@ public:
 private:
     std::unique_ptr<UUIInteractionHelper> m_pImpl;
 
-    UUIInteractionRequestStringResolver(UUIInteractionRequestStringResolver &) = delete;
-    void operator =(UUIInteractionRequestStringResolver&) = delete;
+    UUIInteractionRequestStringResolver(UUIInteractionRequestStringResolver const &) = delete;
+    void operator =(UUIInteractionRequestStringResolver const &) = delete;
 
     virtual ~UUIInteractionRequestStringResolver() override;
 
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
index 891b7644fada..1720ca404ce3 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
@@ -233,7 +233,7 @@ protected:
     OOXMLValue::Pointer_t mpGridAfter;
 
 private:
-    void operator =(OOXMLFastContextHandler &) = delete;
+    void operator =(OOXMLFastContextHandler const &) = delete;
     /// Handles AlternateContent. Returns true, if children of the current element should be ignored.
     bool prepareMceContext(Token_t nElement, const css::uno::Reference<css::xml::sax::XFastAttributeList>& Attribs);
 
diff --git a/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx b/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
index 0757cb90ea19..066781095749 100644
--- a/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
@@ -77,8 +77,8 @@ public:
     void setIsSubstream( bool bSubstream );
 
 private:
-    OOXMLFastDocumentHandler(OOXMLFastDocumentHandler &) = delete;
-    void operator =(OOXMLFastDocumentHandler &) = delete;
+    OOXMLFastDocumentHandler(OOXMLFastDocumentHandler const &) = delete;
+    void operator =(OOXMLFastDocumentHandler const &) = delete;
 
     css::uno::Reference< css::uno::XComponentContext > m_xContext;
 


More information about the Libreoffice-commits mailing list