[Libreoffice-commits] core.git: basctl/source cppcanvas/source include/editeng include/oox include/svl include/svx include/toolkit include/unotools include/vcl sc/inc sc/source sd/source sw/inc sw/source toolkit/source writerfilter/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Oct 2 19:54:24 UTC 2018
basctl/source/inc/dlgedobj.hxx | 4
cppcanvas/source/wrapper/implbitmapcanvas.hxx | 4
cppcanvas/source/wrapper/implcanvas.hxx | 4
include/editeng/spltitem.hxx | 4
include/editeng/twolinesitem.hxx | 4
include/editeng/writingmodeitem.hxx | 4
include/oox/core/contexthandler2.hxx | 4
include/oox/core/fragmenthandler.hxx | 4
include/oox/core/fragmenthandler2.hxx | 4
include/svl/globalnameitem.hxx | 4
include/svl/grabbagitem.hxx | 4
include/svl/ilstitem.hxx | 4
include/svl/int64item.hxx | 4
include/svl/lckbitem.hxx | 4
include/svl/poolitem.hxx | 4
include/svl/slstitm.hxx | 4
include/svx/grfcrop.hxx | 4
include/svx/sdasitm.hxx | 4
include/svx/sdtaiitm.hxx | 8
include/svx/svdoattr.hxx | 4
include/svx/sxcecitm.hxx | 8
include/svx/sxcllitm.hxx | 8
include/svx/sxmbritm.hxx | 4
include/svx/sxmtfitm.hxx | 12 -
include/svx/sxmtritm.hxx | 8
include/toolkit/controls/dialogcontrol.hxx | 12 -
include/unotools/configitem.hxx | 4
include/vcl/metaact.hxx | 204 ++++++++++++-------------
include/vcl/salnativewidgets.hxx | 36 ++--
sc/inc/attrib.hxx | 12 -
sc/inc/defaultsoptions.hxx | 4
sc/inc/docoptio.hxx | 4
sc/inc/editdataarray.hxx | 2
sc/inc/formulaopt.hxx | 4
sc/inc/printopt.hxx | 4
sc/inc/refhint.hxx | 8
sc/inc/textuno.hxx | 12 -
sc/inc/token.hxx | 12 -
sc/inc/userdat.hxx | 4
sc/inc/viewopti.hxx | 4
sc/source/filter/inc/workbookhelper.hxx | 4
sc/source/filter/inc/xechart.hxx | 4
sc/source/filter/inc/xichart.hxx | 4
sc/source/ui/inc/condformatdlgitem.hxx | 4
sd/source/ui/inc/optsitem.hxx | 4
sw/inc/ccoll.hxx | 4
sw/inc/fmtline.hxx | 4
sw/inc/fmtwrapinfluenceonobjpos.hxx | 4
sw/inc/tgrditem.hxx | 4
sw/source/filter/ww8/ww8par.hxx | 4
sw/source/uibase/inc/uiitems.hxx | 4
toolkit/source/controls/spinningprogress.cxx | 4
writerfilter/source/ooxml/OOXMLPropertySet.hxx | 16 -
53 files changed, 257 insertions(+), 257 deletions(-)
New commits:
commit 3db830d354de80b319fb818a0373365a1e647264
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Oct 2 17:28:15 2018 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Oct 2 21:54:00 2018 +0200
Silence new Clang trunk -Wdefaulted-function-deleted
This mostly affects explicitly defaulted functions that had recently been user-
declared to silence new GCC trunk -Wdeprecated-copy. It is not entirely clear
to me what the best approach is overall, see my mail
<http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20181001/245321.html>
"Re: r343285 - [cxx2a] P0641R2: (Some) type mismatches on defaulted functions
only", but lets just explicitly delete those functions for now.
Change-Id: If8c72f612f67a8feb8b03c2fb988c807e704ef03
Reviewed-on: https://gerrit.libreoffice.org/61259
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/basctl/source/inc/dlgedobj.hxx b/basctl/source/inc/dlgedobj.hxx
index e845ba288ac2..f1ab1084ed89 100644
--- a/basctl/source/inc/dlgedobj.hxx
+++ b/basctl/source/inc/dlgedobj.hxx
@@ -90,8 +90,8 @@ protected:
sal_Int32& nXOut, sal_Int32& nYOut, sal_Int32& nWidthOut, sal_Int32& nHeightOut );
public:
- DlgEdObj(DlgEdObj const &) = default;
- DlgEdObj(DlgEdObj &&) = default;
+ DlgEdObj(DlgEdObj const &) = delete; // due to SdrUnoObj
+ DlgEdObj(DlgEdObj &&) = delete; // due to SdrUnoObj
DlgEdObj & operator =(DlgEdObj const &) = default;
DlgEdObj & operator =(DlgEdObj &&) = default;
diff --git a/cppcanvas/source/wrapper/implbitmapcanvas.hxx b/cppcanvas/source/wrapper/implbitmapcanvas.hxx
index f2ccaf42153d..628be99d0b38 100644
--- a/cppcanvas/source/wrapper/implbitmapcanvas.hxx
+++ b/cppcanvas/source/wrapper/implbitmapcanvas.hxx
@@ -41,8 +41,8 @@ namespace cppcanvas
ImplBitmapCanvas(ImplBitmapCanvas const &) = default;
ImplBitmapCanvas(ImplBitmapCanvas &&) = default;
- ImplBitmapCanvas & operator =(ImplBitmapCanvas const &) = default;
- ImplBitmapCanvas & operator =(ImplBitmapCanvas &&) = default;
+ ImplBitmapCanvas & operator =(ImplBitmapCanvas const &) = delete; // due to const mxBitmapCanvas
+ ImplBitmapCanvas & operator =(ImplBitmapCanvas &&) = delete; // due to const mxBitmapCanvas
virtual ::basegfx::B2ISize getSize() const override;
diff --git a/cppcanvas/source/wrapper/implcanvas.hxx b/cppcanvas/source/wrapper/implcanvas.hxx
index b6f8d02da87c..2f8da62e4f0e 100644
--- a/cppcanvas/source/wrapper/implcanvas.hxx
+++ b/cppcanvas/source/wrapper/implcanvas.hxx
@@ -55,8 +55,8 @@ namespace cppcanvas
ImplCanvas(ImplCanvas const &) = default;
ImplCanvas(ImplCanvas &&) = default;
- ImplCanvas & operator =(ImplCanvas const &) = default;
- ImplCanvas & operator =(ImplCanvas &&) = default;
+ ImplCanvas & operator =(ImplCanvas const &) = delete; // due to const mxCanvas
+ ImplCanvas & operator =(ImplCanvas &&) = delete; // due to const mxCanvas
virtual void setTransformation( const ::basegfx::B2DHomMatrix& rMatrix ) override;
virtual ::basegfx::B2DHomMatrix getTransformation() const override;
diff --git a/include/editeng/spltitem.hxx b/include/editeng/spltitem.hxx
index 081d8b8ee87a..8e05e3c5f573 100644
--- a/include/editeng/spltitem.hxx
+++ b/include/editeng/spltitem.hxx
@@ -42,8 +42,8 @@ public:
SvxFormatSplitItem(SvxFormatSplitItem const &) = default;
SvxFormatSplitItem(SvxFormatSplitItem &&) = default;
- SvxFormatSplitItem & operator =(SvxFormatSplitItem const &) = default;
- SvxFormatSplitItem & operator =(SvxFormatSplitItem &&) = default;
+ SvxFormatSplitItem & operator =(SvxFormatSplitItem const &) = delete; // due to SfxBoolItem
+ SvxFormatSplitItem & operator =(SvxFormatSplitItem &&) = delete; // due to SfxBoolItem
// "pure virtual Methods" from SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
diff --git a/include/editeng/twolinesitem.hxx b/include/editeng/twolinesitem.hxx
index 91b2470f3020..848c23c3a081 100644
--- a/include/editeng/twolinesitem.hxx
+++ b/include/editeng/twolinesitem.hxx
@@ -38,8 +38,8 @@ public:
SvxTwoLinesItem(SvxTwoLinesItem const &) = default;
SvxTwoLinesItem(SvxTwoLinesItem &&) = default;
- SvxTwoLinesItem & operator =(SvxTwoLinesItem const &) = default;
- SvxTwoLinesItem & operator =(SvxTwoLinesItem &&) = default;
+ SvxTwoLinesItem & operator =(SvxTwoLinesItem const &) = delete; // due to SfxPoolItem
+ SvxTwoLinesItem & operator =(SvxTwoLinesItem &&) = delete; // due to SfxPoolItem
// "pure virtual Methods" from SfxPoolItem
virtual bool operator==( const SfxPoolItem& ) const override;
diff --git a/include/editeng/writingmodeitem.hxx b/include/editeng/writingmodeitem.hxx
index 737de29f3269..6c10ef62f0f5 100644
--- a/include/editeng/writingmodeitem.hxx
+++ b/include/editeng/writingmodeitem.hxx
@@ -34,8 +34,8 @@ public:
SvxWritingModeItem(SvxWritingModeItem const &) = default;
SvxWritingModeItem(SvxWritingModeItem &&) = default;
- SvxWritingModeItem & operator =(SvxWritingModeItem const &) = default;
- SvxWritingModeItem & operator =(SvxWritingModeItem &&) = default;
+ SvxWritingModeItem & operator =(SvxWritingModeItem const &) = delete; // due to SfxUInt16Item
+ SvxWritingModeItem & operator =(SvxWritingModeItem &&) = delete; // due to SfxUInt16Item
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual sal_uInt16 GetVersion( sal_uInt16 nFileVersion ) const override;
diff --git a/include/oox/core/contexthandler2.hxx b/include/oox/core/contexthandler2.hxx
index 5df9a6b3bd05..27185d732066 100644
--- a/include/oox/core/contexthandler2.hxx
+++ b/include/oox/core/contexthandler2.hxx
@@ -231,8 +231,8 @@ public:
ContextHandler2(ContextHandler2 const &) = default;
ContextHandler2(ContextHandler2 &&) = default;
- ContextHandler2 & operator =(ContextHandler2 const &) = default;
- ContextHandler2 & operator =(ContextHandler2 &&) = default;
+ ContextHandler2 & operator =(ContextHandler2 const &) = delete; // due to ContextHandler
+ ContextHandler2 & operator =(ContextHandler2 &&) = delete; // due to ContextHandler
// resolve ambiguity from base classes
virtual void SAL_CALL acquire() throw() override { ContextHandler::acquire(); }
diff --git a/include/oox/core/fragmenthandler.hxx b/include/oox/core/fragmenthandler.hxx
index c92cb411a6f9..0a4e9a09ffb7 100644
--- a/include/oox/core/fragmenthandler.hxx
+++ b/include/oox/core/fragmenthandler.hxx
@@ -95,8 +95,8 @@ public:
FragmentHandler(FragmentHandler const &) = default;
FragmentHandler(FragmentHandler &&) = default;
- FragmentHandler & operator =(FragmentHandler const &) = default;
- FragmentHandler & operator =(FragmentHandler &&) = default;
+ FragmentHandler & operator =(FragmentHandler const &) = delete; // due to ContextHandler
+ FragmentHandler & operator =(FragmentHandler &&) = delete; // due to ContextHandler
/** Returns the com.sun.star.xml.sax.XFastContextHandler interface of this context. */
css::uno::Reference< css::xml::sax::XFastContextHandler >
diff --git a/include/oox/core/fragmenthandler2.hxx b/include/oox/core/fragmenthandler2.hxx
index 2a262c470646..a08111395e8d 100644
--- a/include/oox/core/fragmenthandler2.hxx
+++ b/include/oox/core/fragmenthandler2.hxx
@@ -71,8 +71,8 @@ public:
FragmentHandler2(FragmentHandler2 const &) = default;
FragmentHandler2(FragmentHandler2 &&) = default;
- FragmentHandler2 & operator =(FragmentHandler2 const &) = default;
- FragmentHandler2 & operator =(FragmentHandler2 &&) = default;
+ FragmentHandler2 & operator =(FragmentHandler2 const &) = delete; // due to FragmentHandler
+ FragmentHandler2 & operator =(FragmentHandler2 &&) = delete; // due to FragmentHandler
// resolve ambiguity from base classes
virtual void SAL_CALL acquire() throw() override { FragmentHandler::acquire(); }
diff --git a/include/svl/globalnameitem.hxx b/include/svl/globalnameitem.hxx
index 3ce25307ecb4..929780d94d63 100644
--- a/include/svl/globalnameitem.hxx
+++ b/include/svl/globalnameitem.hxx
@@ -36,8 +36,8 @@ public:
SfxGlobalNameItem(SfxGlobalNameItem const &) = default;
SfxGlobalNameItem(SfxGlobalNameItem &&) = default;
- SfxGlobalNameItem & operator =(SfxGlobalNameItem const &) = default;
- SfxGlobalNameItem & operator =(SfxGlobalNameItem &&) = default;
+ SfxGlobalNameItem & operator =(SfxGlobalNameItem const &) = delete; // due to SfxPoolItem
+ SfxGlobalNameItem & operator =(SfxGlobalNameItem &&) = delete; // due to SfxPoolItem
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
diff --git a/include/svl/grabbagitem.hxx b/include/svl/grabbagitem.hxx
index 4fcd9159a8e6..1662259b97d0 100644
--- a/include/svl/grabbagitem.hxx
+++ b/include/svl/grabbagitem.hxx
@@ -28,8 +28,8 @@ public:
SfxGrabBagItem(SfxGrabBagItem const&) = default;
SfxGrabBagItem(SfxGrabBagItem&&) = default;
- SfxGrabBagItem& operator=(SfxGrabBagItem const&) = default;
- SfxGrabBagItem& operator=(SfxGrabBagItem&&) = default;
+ SfxGrabBagItem& operator=(SfxGrabBagItem const&) = delete; // due to SfxPoolItem
+ SfxGrabBagItem& operator=(SfxGrabBagItem&&) = delete; // due to SfxPoolItem
const std::map<OUString, css::uno::Any>& GetGrabBag() const { return m_aMap; }
diff --git a/include/svl/ilstitem.hxx b/include/svl/ilstitem.hxx
index 198af2747fd0..ecc99fd83e01 100644
--- a/include/svl/ilstitem.hxx
+++ b/include/svl/ilstitem.hxx
@@ -38,8 +38,8 @@ public:
SfxIntegerListItem(SfxIntegerListItem const &) = default;
SfxIntegerListItem(SfxIntegerListItem &&) = default;
- SfxIntegerListItem & operator =(SfxIntegerListItem const &) = default;
- SfxIntegerListItem & operator =(SfxIntegerListItem &&) = default;
+ SfxIntegerListItem & operator =(SfxIntegerListItem const &) = delete; // due to SfxPoolItem
+ SfxIntegerListItem & operator =(SfxIntegerListItem &&) = delete; // due to SfxPoolItem
const std::vector< sal_Int32 >& GetList() const { return m_aList; }
diff --git a/include/svl/int64item.hxx b/include/svl/int64item.hxx
index 583f435dde94..410beb21746b 100644
--- a/include/svl/int64item.hxx
+++ b/include/svl/int64item.hxx
@@ -25,8 +25,8 @@ public:
SfxInt64Item(SfxInt64Item const &) = default;
SfxInt64Item(SfxInt64Item &&) = default;
- SfxInt64Item & operator =(SfxInt64Item const &) = default;
- SfxInt64Item & operator =(SfxInt64Item &&) = default;
+ SfxInt64Item & operator =(SfxInt64Item const &) = delete; // due to SfxPoolItem;
+ SfxInt64Item & operator =(SfxInt64Item &&) = delete; // due to SfxPoolItem
virtual bool operator== ( const SfxPoolItem& rItem ) const override;
diff --git a/include/svl/lckbitem.hxx b/include/svl/lckbitem.hxx
index 54b52a42aff6..d6bf1a21e27c 100644
--- a/include/svl/lckbitem.hxx
+++ b/include/svl/lckbitem.hxx
@@ -35,8 +35,8 @@ public:
SfxLockBytesItem(SfxLockBytesItem const &) = default;
SfxLockBytesItem(SfxLockBytesItem &&) = default;
- SfxLockBytesItem & operator =(SfxLockBytesItem const &) = default;
- SfxLockBytesItem & operator =(SfxLockBytesItem &&) = default;
+ SfxLockBytesItem & operator =(SfxLockBytesItem const &) = delete; // due to SfxPoolItem
+ SfxLockBytesItem & operator =(SfxLockBytesItem &&) = delete; // due to SfxPoolItem
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx
index a7f90980ca34..25a5a83a2d05 100644
--- a/include/svl/poolitem.hxx
+++ b/include/svl/poolitem.hxx
@@ -255,8 +255,8 @@ public:
SfxVoidItem(SfxVoidItem const &) = default;
SfxVoidItem(SfxVoidItem &&) = default;
- SfxVoidItem & operator =(SfxVoidItem const &) = default;
- SfxVoidItem & operator =(SfxVoidItem &&) = default;
+ SfxVoidItem & operator =(SfxVoidItem const &) = delete; // due to SfxPoolItem
+ SfxVoidItem & operator =(SfxVoidItem &&) = delete; // due to SfxPoolItem
virtual bool operator==( const SfxPoolItem& ) const override;
diff --git a/include/svl/slstitm.hxx b/include/svl/slstitm.hxx
index b6ce5d79417d..4f9a82986a35 100644
--- a/include/svl/slstitm.hxx
+++ b/include/svl/slstitm.hxx
@@ -40,8 +40,8 @@ public:
SfxStringListItem(SfxStringListItem const &) = default;
SfxStringListItem(SfxStringListItem &&) = default;
- SfxStringListItem & operator =(SfxStringListItem const &) = default;
- SfxStringListItem & operator =(SfxStringListItem &&) = default;
+ SfxStringListItem & operator =(SfxStringListItem const &) = delete; // due to SfxPoolItem
+ SfxStringListItem & operator =(SfxStringListItem &&) = delete; // due to SfxPoolItem
std::vector<OUString>& GetList();
diff --git a/include/svx/grfcrop.hxx b/include/svx/grfcrop.hxx
index 73693e65123d..3877f471da17 100644
--- a/include/svx/grfcrop.hxx
+++ b/include/svx/grfcrop.hxx
@@ -38,8 +38,8 @@ public:
SvxGrfCrop(SvxGrfCrop const &) = default;
SvxGrfCrop(SvxGrfCrop &&) = default;
- SvxGrfCrop & operator =(SvxGrfCrop const &) = default;
- SvxGrfCrop & operator =(SvxGrfCrop &&) = default;
+ SvxGrfCrop & operator =(SvxGrfCrop const &) = delete; // due to SfxPoolItem
+ SvxGrfCrop & operator =(SvxGrfCrop &&) = delete; // due to SfxPoolItem
// "pure virtual methods" from SfxPoolItem
virtual bool operator==( const SfxPoolItem& ) const override;
diff --git a/include/svx/sdasitm.hxx b/include/svx/sdasitm.hxx
index c0c02897da5c..44bdfbc714d6 100644
--- a/include/svx/sdasitm.hxx
+++ b/include/svx/sdasitm.hxx
@@ -56,8 +56,8 @@ private:
SdrCustomShapeGeometryItem(SdrCustomShapeGeometryItem const &) = default;
SdrCustomShapeGeometryItem(SdrCustomShapeGeometryItem &&) = default;
- SdrCustomShapeGeometryItem & operator =(SdrCustomShapeGeometryItem const &) = default;
- SdrCustomShapeGeometryItem & operator =(SdrCustomShapeGeometryItem &&) = default;
+ SdrCustomShapeGeometryItem & operator =(SdrCustomShapeGeometryItem const &) = delete; // due to SfxPoolItem
+ SdrCustomShapeGeometryItem & operator =(SdrCustomShapeGeometryItem &&) = delete; // due to SfxPoolItem
virtual bool operator==( const SfxPoolItem& ) const override;
virtual bool GetPresentation(SfxItemPresentation ePresentation,
diff --git a/include/svx/sdtaiitm.hxx b/include/svx/sdtaiitm.hxx
index f49131403096..eabeba9b3215 100644
--- a/include/svx/sdtaiitm.hxx
+++ b/include/svx/sdtaiitm.hxx
@@ -30,8 +30,8 @@ public:
SdrTextAniStartInsideItem(SdrTextAniStartInsideItem const &) = default;
SdrTextAniStartInsideItem(SdrTextAniStartInsideItem &&) = default;
- SdrTextAniStartInsideItem & operator =(SdrTextAniStartInsideItem const &) = default;
- SdrTextAniStartInsideItem & operator =(SdrTextAniStartInsideItem &&) = default;
+ SdrTextAniStartInsideItem & operator =(SdrTextAniStartInsideItem const &) = delete; // due to SdrYesNoItem
+ SdrTextAniStartInsideItem & operator =(SdrTextAniStartInsideItem &&) = delete; // due to SdrYesNoItem
};
class SVX_DLLPUBLIC SdrTextAniStopInsideItem: public SdrYesNoItem {
@@ -42,8 +42,8 @@ public:
SdrTextAniStopInsideItem(SdrTextAniStopInsideItem const &) = default;
SdrTextAniStopInsideItem(SdrTextAniStopInsideItem &&) = default;
- SdrTextAniStopInsideItem & operator =(SdrTextAniStopInsideItem const &) = default;
- SdrTextAniStopInsideItem & operator =(SdrTextAniStopInsideItem &&) = default;
+ SdrTextAniStopInsideItem & operator =(SdrTextAniStopInsideItem const &) = delete; // due to SdrYesNoItem
+ SdrTextAniStopInsideItem & operator =(SdrTextAniStopInsideItem &&) = delete; // due to SdrYesNoItem
};
#endif
diff --git a/include/svx/svdoattr.hxx b/include/svx/svdoattr.hxx
index 44a31a65542c..29622d0a9e89 100644
--- a/include/svx/svdoattr.hxx
+++ b/include/svx/svdoattr.hxx
@@ -57,8 +57,8 @@ protected:
virtual ~SdrAttrObj() override;
public:
- SdrAttrObj(SdrAttrObj const &) = default;
- SdrAttrObj(SdrAttrObj &&) = default;
+ SdrAttrObj(SdrAttrObj const &) = delete; // due to SdrObject
+ SdrAttrObj(SdrAttrObj &&) = delete; // due to SdrObject
SdrAttrObj & operator =(SdrAttrObj const &) = default;
SdrAttrObj & operator =(SdrAttrObj &&) = default;
diff --git a/include/svx/sxcecitm.hxx b/include/svx/sxcecitm.hxx
index 53a81f11462f..3f5d980b86af 100644
--- a/include/svx/sxcecitm.hxx
+++ b/include/svx/sxcecitm.hxx
@@ -54,8 +54,8 @@ public:
SdrCaptionEscIsRelItem(SdrCaptionEscIsRelItem const &) = default;
SdrCaptionEscIsRelItem(SdrCaptionEscIsRelItem &&) = default;
- SdrCaptionEscIsRelItem & operator =(SdrCaptionEscIsRelItem const &) = default;
- SdrCaptionEscIsRelItem & operator =(SdrCaptionEscIsRelItem &&) = default;
+ SdrCaptionEscIsRelItem & operator =(SdrCaptionEscIsRelItem const &) = delete; // due to SdrYesNoItem
+ SdrCaptionEscIsRelItem & operator =(SdrCaptionEscIsRelItem &&) = delete; // due to SdrYesNoItem
};
@@ -73,8 +73,8 @@ public:
SdrCaptionEscRelItem(SdrCaptionEscRelItem const &) = default;
SdrCaptionEscRelItem(SdrCaptionEscRelItem &&) = default;
- SdrCaptionEscRelItem & operator =(SdrCaptionEscRelItem const &) = default;
- SdrCaptionEscRelItem & operator =(SdrCaptionEscRelItem &&) = default;
+ SdrCaptionEscRelItem & operator =(SdrCaptionEscRelItem const &) = delete; // due to SfxInt32Item
+ SdrCaptionEscRelItem & operator =(SdrCaptionEscRelItem &&) = delete; // due to SfxInt32Item
};
diff --git a/include/svx/sxcllitm.hxx b/include/svx/sxcllitm.hxx
index 8fa6eaf81285..4ee4c13dbae0 100644
--- a/include/svx/sxcllitm.hxx
+++ b/include/svx/sxcllitm.hxx
@@ -36,8 +36,8 @@ public:
SdrCaptionLineLenItem(SdrCaptionLineLenItem const &) = default;
SdrCaptionLineLenItem(SdrCaptionLineLenItem &&) = default;
- SdrCaptionLineLenItem & operator =(SdrCaptionLineLenItem const &) = default;
- SdrCaptionLineLenItem & operator =(SdrCaptionLineLenItem &&) = default;
+ SdrCaptionLineLenItem & operator =(SdrCaptionLineLenItem const &) = delete; // due to SdrMetricItem
+ SdrCaptionLineLenItem & operator =(SdrCaptionLineLenItem &&) = delete; // due to SdrMetricItem
};
/**
@@ -52,8 +52,8 @@ public:
SdrCaptionFitLineLenItem(SdrCaptionFitLineLenItem const &) = default;
SdrCaptionFitLineLenItem(SdrCaptionFitLineLenItem &&) = default;
- SdrCaptionFitLineLenItem & operator =(SdrCaptionFitLineLenItem const &) = default;
- SdrCaptionFitLineLenItem & operator =(SdrCaptionFitLineLenItem &&) = default;
+ SdrCaptionFitLineLenItem & operator =(SdrCaptionFitLineLenItem const &) = delete; // due to SdrYesNoItem
+ SdrCaptionFitLineLenItem & operator =(SdrCaptionFitLineLenItem &&) = delete; // due to SdrYesNoItem
};
#endif
diff --git a/include/svx/sxmbritm.hxx b/include/svx/sxmbritm.hxx
index 25646ae92d7b..13ccf1620404 100644
--- a/include/svx/sxmbritm.hxx
+++ b/include/svx/sxmbritm.hxx
@@ -37,8 +37,8 @@ public:
SdrMeasureBelowRefEdgeItem(SdrMeasureBelowRefEdgeItem const &) = default;
SdrMeasureBelowRefEdgeItem(SdrMeasureBelowRefEdgeItem &&) = default;
- SdrMeasureBelowRefEdgeItem & operator =(SdrMeasureBelowRefEdgeItem const &) = default;
- SdrMeasureBelowRefEdgeItem & operator =(SdrMeasureBelowRefEdgeItem &&) = default;
+ SdrMeasureBelowRefEdgeItem & operator =(SdrMeasureBelowRefEdgeItem const &) = delete; // due to SdrYesNoItem
+ SdrMeasureBelowRefEdgeItem & operator =(SdrMeasureBelowRefEdgeItem &&) = delete; // due to SdrYesNoItem
};
#endif
diff --git a/include/svx/sxmtfitm.hxx b/include/svx/sxmtfitm.hxx
index e92bc21b2b39..c2847663e2c0 100644
--- a/include/svx/sxmtfitm.hxx
+++ b/include/svx/sxmtfitm.hxx
@@ -35,8 +35,8 @@ public:
SdrMeasureTextIsFixedAngleItem(SdrMeasureTextIsFixedAngleItem const &) = default;
SdrMeasureTextIsFixedAngleItem(SdrMeasureTextIsFixedAngleItem &&) = default;
- SdrMeasureTextIsFixedAngleItem & operator =(SdrMeasureTextIsFixedAngleItem const &) = default;
- SdrMeasureTextIsFixedAngleItem & operator =(SdrMeasureTextIsFixedAngleItem &&) = default;
+ SdrMeasureTextIsFixedAngleItem & operator =(SdrMeasureTextIsFixedAngleItem const &) = delete; // due to SdrYesNoItem
+ SdrMeasureTextIsFixedAngleItem & operator =(SdrMeasureTextIsFixedAngleItem &&) = delete; // due to SdrYesNoItem
};
//Angle of the text in 1/100deg. 0=horizontal; read from left to right. (n.i.)
@@ -48,8 +48,8 @@ public:
SdrMeasureTextFixedAngleItem(SdrMeasureTextFixedAngleItem const &) = default;
SdrMeasureTextFixedAngleItem(SdrMeasureTextFixedAngleItem &&) = default;
- SdrMeasureTextFixedAngleItem & operator =(SdrMeasureTextFixedAngleItem const &) = default;
- SdrMeasureTextFixedAngleItem & operator =(SdrMeasureTextFixedAngleItem &&) = default;
+ SdrMeasureTextFixedAngleItem & operator =(SdrMeasureTextFixedAngleItem const &) = delete; // due to SdrAngleItem
+ SdrMeasureTextFixedAngleItem & operator =(SdrMeasureTextFixedAngleItem &&) = delete; // due to SdrAngleItem
};
// The decimal places used for the measure value
@@ -61,8 +61,8 @@ public:
SdrMeasureDecimalPlacesItem(SdrMeasureDecimalPlacesItem const &) = default;
SdrMeasureDecimalPlacesItem(SdrMeasureDecimalPlacesItem &&) = default;
- SdrMeasureDecimalPlacesItem & operator =(SdrMeasureDecimalPlacesItem const &) = default;
- SdrMeasureDecimalPlacesItem & operator =(SdrMeasureDecimalPlacesItem &&) = default;
+ SdrMeasureDecimalPlacesItem & operator =(SdrMeasureDecimalPlacesItem const &) = delete; // due to SfxInt16Item
+ SdrMeasureDecimalPlacesItem & operator =(SdrMeasureDecimalPlacesItem &&) = delete; // due to SfxInt16Item
};
#endif
diff --git a/include/svx/sxmtritm.hxx b/include/svx/sxmtritm.hxx
index 78da1e7a1185..ab517f7ee87e 100644
--- a/include/svx/sxmtritm.hxx
+++ b/include/svx/sxmtritm.hxx
@@ -31,8 +31,8 @@ public:
SdrMeasureTextRota90Item(SdrMeasureTextRota90Item const &) = default;
SdrMeasureTextRota90Item(SdrMeasureTextRota90Item &&) = default;
- SdrMeasureTextRota90Item & operator =(SdrMeasureTextRota90Item const &) = default;
- SdrMeasureTextRota90Item & operator =(SdrMeasureTextRota90Item &&) = default;
+ SdrMeasureTextRota90Item & operator =(SdrMeasureTextRota90Item const &) = delete; // due to SdrYesNoItem
+ SdrMeasureTextRota90Item & operator =(SdrMeasureTextRota90Item &&) = delete; // due to SdrYesNoItem
};
// Turn the calculated TextRect through 180 deg
@@ -45,8 +45,8 @@ public:
SdrMeasureTextUpsideDownItem(SdrMeasureTextUpsideDownItem const &) = default;
SdrMeasureTextUpsideDownItem(SdrMeasureTextUpsideDownItem &&) = default;
- SdrMeasureTextUpsideDownItem & operator =(SdrMeasureTextUpsideDownItem const &) = default;
- SdrMeasureTextUpsideDownItem & operator =(SdrMeasureTextUpsideDownItem &&) = default;
+ SdrMeasureTextUpsideDownItem & operator =(SdrMeasureTextUpsideDownItem const &) = delete; // due to SdrYesNoItem
+ SdrMeasureTextUpsideDownItem & operator =(SdrMeasureTextUpsideDownItem &&) = delete; // due to SdrYesNoItem
};
#endif
diff --git a/include/toolkit/controls/dialogcontrol.hxx b/include/toolkit/controls/dialogcontrol.hxx
index df643f47f450..5783c894be1f 100644
--- a/include/toolkit/controls/dialogcontrol.hxx
+++ b/include/toolkit/controls/dialogcontrol.hxx
@@ -172,8 +172,8 @@ public:
UnoMultiPageModel(UnoMultiPageModel const &) = default;
UnoMultiPageModel(UnoMultiPageModel &&) = default;
- UnoMultiPageModel & operator =(UnoMultiPageModel const &) = default;
- UnoMultiPageModel & operator =(UnoMultiPageModel &&) = default;
+ UnoMultiPageModel & operator =(UnoMultiPageModel const &) = delete; // due to ControlModelContainerBase
+ UnoMultiPageModel & operator =(UnoMultiPageModel &&) = delete; // due to ControlModelContainerBase
rtl::Reference<UnoControlModel> Clone() const override;
@@ -251,8 +251,8 @@ public:
UnoPageModel(UnoPageModel const &) = default;
UnoPageModel(UnoPageModel &&) = default;
- UnoPageModel & operator =(UnoPageModel const &) = default;
- UnoPageModel & operator =(UnoPageModel &&) = default;
+ UnoPageModel & operator =(UnoPageModel const &) = delete; // due to ControlModelContainerBase
+ UnoPageModel & operator =(UnoPageModel &&) = delete; // due to ControlModelContainerBase
rtl::Reference<UnoControlModel> Clone() const override;
@@ -289,8 +289,8 @@ public:
UnoFrameModel(UnoFrameModel const &) = default;
UnoFrameModel(UnoFrameModel &&) = default;
- UnoFrameModel & operator =(UnoFrameModel const &) = default;
- UnoFrameModel & operator =(UnoFrameModel &&) = default;
+ UnoFrameModel & operator =(UnoFrameModel const &) = delete; // due to ControlModelContainerBase
+ UnoFrameModel & operator =(UnoFrameModel &&) = delete; // due to ControlModelContainerBase
rtl::Reference<UnoControlModel> Clone() const override;
diff --git a/include/unotools/configitem.hxx b/include/unotools/configitem.hxx
index e49e7a552709..3d445dc20386 100644
--- a/include/unotools/configitem.hxx
+++ b/include/unotools/configitem.hxx
@@ -167,8 +167,8 @@ namespace utl
ConfigItem(ConfigItem const &) = default;
ConfigItem(ConfigItem &&) = default;
- ConfigItem & operator =(ConfigItem const &) = default;
- ConfigItem & operator =(ConfigItem &&) = default;
+ ConfigItem & operator =(ConfigItem const &) = delete; // due to const sSubTree
+ ConfigItem & operator =(ConfigItem &&) = delete; // due to const sSubTree
/** is called from the ConfigManager before application ends of from the
PropertyChangeListener if the sub tree broadcasts changes. */
diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx
index 278e22df9b5f..526582aea20f 100644
--- a/include/vcl/metaact.hxx
+++ b/include/vcl/metaact.hxx
@@ -103,8 +103,8 @@ public:
MetaPixelAction();
MetaPixelAction(MetaPixelAction const &) = default;
MetaPixelAction(MetaPixelAction &&) = default;
- MetaPixelAction & operator =(MetaPixelAction const &) = default;
- MetaPixelAction & operator =(MetaPixelAction &&) = default;
+ MetaPixelAction & operator =(MetaPixelAction const &) = delete; // due to MetaAction
+ MetaPixelAction & operator =(MetaPixelAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaPixelAction() override;
public:
@@ -131,8 +131,8 @@ public:
MetaPointAction();
MetaPointAction(MetaPointAction const &) = default;
MetaPointAction(MetaPointAction &&) = default;
- MetaPointAction & operator =(MetaPointAction const &) = default;
- MetaPointAction & operator =(MetaPointAction &&) = default;
+ MetaPointAction & operator =(MetaPointAction const &) = delete; // due to MetaAction
+ MetaPointAction & operator =(MetaPointAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaPointAction() override;
public:
@@ -161,8 +161,8 @@ public:
MetaLineAction();
MetaLineAction(MetaLineAction const &) = default;
MetaLineAction(MetaLineAction &&) = default;
- MetaLineAction & operator =(MetaLineAction const &) = default;
- MetaLineAction & operator =(MetaLineAction &&) = default;
+ MetaLineAction & operator =(MetaLineAction const &) = delete; // due to MetaAction
+ MetaLineAction & operator =(MetaLineAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaLineAction() override;
public:
@@ -193,8 +193,8 @@ public:
MetaRectAction();
MetaRectAction(MetaRectAction const &) = default;
MetaRectAction(MetaRectAction &&) = default;
- MetaRectAction & operator =(MetaRectAction const &) = default;
- MetaRectAction & operator =(MetaRectAction &&) = default;
+ MetaRectAction & operator =(MetaRectAction const &) = delete; // due to MetaAction
+ MetaRectAction & operator =(MetaRectAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaRectAction() override;
public:
@@ -223,8 +223,8 @@ public:
MetaRoundRectAction();
MetaRoundRectAction(MetaRoundRectAction const &) = default;
MetaRoundRectAction(MetaRoundRectAction &&) = default;
- MetaRoundRectAction & operator =(MetaRoundRectAction const &) = default;
- MetaRoundRectAction & operator =(MetaRoundRectAction &&) = default;
+ MetaRoundRectAction & operator =(MetaRoundRectAction const &) = delete; // due to MetaAction
+ MetaRoundRectAction & operator =(MetaRoundRectAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaRoundRectAction() override;
public:
@@ -254,8 +254,8 @@ public:
MetaEllipseAction();
MetaEllipseAction(MetaEllipseAction const &) = default;
MetaEllipseAction(MetaEllipseAction &&) = default;
- MetaEllipseAction & operator =(MetaEllipseAction const &) = default;
- MetaEllipseAction & operator =(MetaEllipseAction &&) = default;
+ MetaEllipseAction & operator =(MetaEllipseAction const &) = delete; // due to MetaAction
+ MetaEllipseAction & operator =(MetaEllipseAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaEllipseAction() override;
public:
@@ -284,8 +284,8 @@ public:
MetaArcAction();
MetaArcAction(MetaArcAction const &) = default;
MetaArcAction(MetaArcAction &&) = default;
- MetaArcAction & operator =(MetaArcAction const &) = default;
- MetaArcAction & operator =(MetaArcAction &&) = default;
+ MetaArcAction & operator =(MetaArcAction const &) = delete; // due to MetaAction
+ MetaArcAction & operator =(MetaArcAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaArcAction() override;
public:
@@ -317,8 +317,8 @@ public:
MetaPieAction();
MetaPieAction(MetaPieAction const &) = default;
MetaPieAction(MetaPieAction &&) = default;
- MetaPieAction & operator =(MetaPieAction const &) = default;
- MetaPieAction & operator =(MetaPieAction &&) = default;
+ MetaPieAction & operator =(MetaPieAction const &) = delete; // due to MetaAction
+ MetaPieAction & operator =(MetaPieAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaPieAction() override;
public:
@@ -350,8 +350,8 @@ public:
MetaChordAction();
MetaChordAction(MetaChordAction const &) = default;
MetaChordAction(MetaChordAction &&) = default;
- MetaChordAction & operator =(MetaChordAction const &) = default;
- MetaChordAction & operator =(MetaChordAction &&) = default;
+ MetaChordAction & operator =(MetaChordAction const &) = delete; // due to MetaAction
+ MetaChordAction & operator =(MetaChordAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaChordAction() override;
public:
@@ -382,8 +382,8 @@ public:
MetaPolyLineAction();
MetaPolyLineAction(MetaPolyLineAction const &) = default;
MetaPolyLineAction(MetaPolyLineAction &&) = default;
- MetaPolyLineAction & operator =(MetaPolyLineAction const &) = default;
- MetaPolyLineAction & operator =(MetaPolyLineAction &&) = default;
+ MetaPolyLineAction & operator =(MetaPolyLineAction const &) = delete; // due to MetaAction
+ MetaPolyLineAction & operator =(MetaPolyLineAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaPolyLineAction() override;
public:
@@ -412,8 +412,8 @@ public:
MetaPolygonAction();
MetaPolygonAction(MetaPolygonAction const &) = default;
MetaPolygonAction(MetaPolygonAction &&) = default;
- MetaPolygonAction & operator =(MetaPolygonAction const &) = default;
- MetaPolygonAction & operator =(MetaPolygonAction &&) = default;
+ MetaPolygonAction & operator =(MetaPolygonAction const &) = delete; // due to MetaAction
+ MetaPolygonAction & operator =(MetaPolygonAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaPolygonAction() override;
public:
@@ -440,8 +440,8 @@ public:
MetaPolyPolygonAction();
MetaPolyPolygonAction(MetaPolyPolygonAction const &) = default;
MetaPolyPolygonAction(MetaPolyPolygonAction &&) = default;
- MetaPolyPolygonAction & operator =(MetaPolyPolygonAction const &) = default;
- MetaPolyPolygonAction & operator =(MetaPolyPolygonAction &&) = default;
+ MetaPolyPolygonAction & operator =(MetaPolyPolygonAction const &) = delete; // due to MetaAction
+ MetaPolyPolygonAction & operator =(MetaPolyPolygonAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaPolyPolygonAction() override;
public:
@@ -471,8 +471,8 @@ public:
MetaTextAction();
MetaTextAction(MetaTextAction const &) = default;
MetaTextAction(MetaTextAction &&) = default;
- MetaTextAction & operator =(MetaTextAction const &) = default;
- MetaTextAction & operator =(MetaTextAction &&) = default;
+ MetaTextAction & operator =(MetaTextAction const &) = delete; // due to MetaAction
+ MetaTextAction & operator =(MetaTextAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaTextAction() override;
public:
@@ -545,8 +545,8 @@ public:
MetaStretchTextAction();
MetaStretchTextAction(MetaStretchTextAction const &) = default;
MetaStretchTextAction(MetaStretchTextAction &&) = default;
- MetaStretchTextAction & operator =(MetaStretchTextAction const &) = default;
- MetaStretchTextAction & operator =(MetaStretchTextAction &&) = default;
+ MetaStretchTextAction & operator =(MetaStretchTextAction const &) = delete; // due to MetaAction
+ MetaStretchTextAction & operator =(MetaStretchTextAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaStretchTextAction() override;
public:
@@ -581,8 +581,8 @@ public:
MetaTextRectAction();
MetaTextRectAction(MetaTextRectAction const &) = default;
MetaTextRectAction(MetaTextRectAction &&) = default;
- MetaTextRectAction & operator =(MetaTextRectAction const &) = default;
- MetaTextRectAction & operator =(MetaTextRectAction &&) = default;
+ MetaTextRectAction & operator =(MetaTextRectAction const &) = delete; // due to MetaAction
+ MetaTextRectAction & operator =(MetaTextRectAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaTextRectAction() override;
public:
@@ -616,8 +616,8 @@ public:
MetaTextLineAction();
MetaTextLineAction(MetaTextLineAction const &) = default;
MetaTextLineAction(MetaTextLineAction &&) = default;
- MetaTextLineAction & operator =(MetaTextLineAction const &) = default;
- MetaTextLineAction & operator =(MetaTextLineAction &&) = default;
+ MetaTextLineAction & operator =(MetaTextLineAction const &) = delete; // due to MetaAction
+ MetaTextLineAction & operator =(MetaTextLineAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaTextLineAction() override;
public:
@@ -651,8 +651,8 @@ public:
MetaBmpAction();
MetaBmpAction(MetaBmpAction const &) = default;
MetaBmpAction(MetaBmpAction &&) = default;
- MetaBmpAction & operator =(MetaBmpAction const &) = default;
- MetaBmpAction & operator =(MetaBmpAction &&) = default;
+ MetaBmpAction & operator =(MetaBmpAction const &) = delete; // due to MetaAction
+ MetaBmpAction & operator =(MetaBmpAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaBmpAction() override;
public:
@@ -682,8 +682,8 @@ public:
MetaBmpScaleAction();
MetaBmpScaleAction(MetaBmpScaleAction const &) = default;
MetaBmpScaleAction(MetaBmpScaleAction &&) = default;
- MetaBmpScaleAction & operator =(MetaBmpScaleAction const &) = default;
- MetaBmpScaleAction & operator =(MetaBmpScaleAction &&) = default;
+ MetaBmpScaleAction & operator =(MetaBmpScaleAction const &) = delete; // due to MetaAction
+ MetaBmpScaleAction & operator =(MetaBmpScaleAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaBmpScaleAction() override;
public:
@@ -717,8 +717,8 @@ public:
MetaBmpScalePartAction();
MetaBmpScalePartAction(MetaBmpScalePartAction const &) = default;
MetaBmpScalePartAction(MetaBmpScalePartAction &&) = default;
- MetaBmpScalePartAction & operator =(MetaBmpScalePartAction const &) = default;
- MetaBmpScalePartAction & operator =(MetaBmpScalePartAction &&) = default;
+ MetaBmpScalePartAction & operator =(MetaBmpScalePartAction const &) = delete; // due to MetaAction
+ MetaBmpScalePartAction & operator =(MetaBmpScalePartAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaBmpScalePartAction() override;
public:
@@ -752,8 +752,8 @@ public:
MetaBmpExAction();
MetaBmpExAction(MetaBmpExAction const &) = default;
MetaBmpExAction(MetaBmpExAction &&) = default;
- MetaBmpExAction & operator =(MetaBmpExAction const &) = default;
- MetaBmpExAction & operator =(MetaBmpExAction &&) = default;
+ MetaBmpExAction & operator =(MetaBmpExAction const &) = delete; // due to MetaAction
+ MetaBmpExAction & operator =(MetaBmpExAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaBmpExAction() override;
public:
@@ -783,8 +783,8 @@ public:
MetaBmpExScaleAction();
MetaBmpExScaleAction(MetaBmpExScaleAction const &) = default;
MetaBmpExScaleAction(MetaBmpExScaleAction &&) = default;
- MetaBmpExScaleAction & operator =(MetaBmpExScaleAction const &) = default;
- MetaBmpExScaleAction & operator =(MetaBmpExScaleAction &&) = default;
+ MetaBmpExScaleAction & operator =(MetaBmpExScaleAction const &) = delete; // due to MetaAction
+ MetaBmpExScaleAction & operator =(MetaBmpExScaleAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaBmpExScaleAction() override;
public:
@@ -818,8 +818,8 @@ public:
MetaBmpExScalePartAction();
MetaBmpExScalePartAction(MetaBmpExScalePartAction const &) = default;
MetaBmpExScalePartAction(MetaBmpExScalePartAction &&) = default;
- MetaBmpExScalePartAction & operator =(MetaBmpExScalePartAction const &) = default;
- MetaBmpExScalePartAction & operator =(MetaBmpExScalePartAction &&) = default;
+ MetaBmpExScalePartAction & operator =(MetaBmpExScalePartAction const &) = delete; // due to MetaAction
+ MetaBmpExScalePartAction & operator =(MetaBmpExScalePartAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaBmpExScalePartAction() override;
public:
@@ -854,8 +854,8 @@ public:
MetaMaskAction();
MetaMaskAction(MetaMaskAction const &) = default;
MetaMaskAction(MetaMaskAction &&) = default;
- MetaMaskAction & operator =(MetaMaskAction const &) = default;
- MetaMaskAction & operator =(MetaMaskAction &&) = default;
+ MetaMaskAction & operator =(MetaMaskAction const &) = delete; // due to MetaAction
+ MetaMaskAction & operator =(MetaMaskAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaMaskAction() override;
public:
@@ -889,8 +889,8 @@ public:
MetaMaskScaleAction();
MetaMaskScaleAction(MetaMaskScaleAction const &) = default;
MetaMaskScaleAction(MetaMaskScaleAction &&) = default;
- MetaMaskScaleAction & operator =(MetaMaskScaleAction const &) = default;
- MetaMaskScaleAction & operator =(MetaMaskScaleAction &&) = default;
+ MetaMaskScaleAction & operator =(MetaMaskScaleAction const &) = delete; // due to MetaAction
+ MetaMaskScaleAction & operator =(MetaMaskScaleAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaMaskScaleAction() override;
public:
@@ -927,8 +927,8 @@ public:
MetaMaskScalePartAction();
MetaMaskScalePartAction(MetaMaskScalePartAction const &) = default;
MetaMaskScalePartAction(MetaMaskScalePartAction &&) = default;
- MetaMaskScalePartAction & operator =(MetaMaskScalePartAction const &) = default;
- MetaMaskScalePartAction & operator =(MetaMaskScalePartAction &&) = default;
+ MetaMaskScalePartAction & operator =(MetaMaskScalePartAction const &) = delete; // due to MetaAction
+ MetaMaskScalePartAction & operator =(MetaMaskScalePartAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaMaskScalePartAction() override;
public:
@@ -964,8 +964,8 @@ public:
MetaGradientAction();
MetaGradientAction(MetaGradientAction const &) = default;
MetaGradientAction(MetaGradientAction &&) = default;
- MetaGradientAction & operator =(MetaGradientAction const &) = default;
- MetaGradientAction & operator =(MetaGradientAction &&) = default;
+ MetaGradientAction & operator =(MetaGradientAction const &) = delete; // due to MetaAction
+ MetaGradientAction & operator =(MetaGradientAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaGradientAction() override;
public:
@@ -994,8 +994,8 @@ public:
MetaGradientExAction();
MetaGradientExAction(MetaGradientExAction const &) = default;
MetaGradientExAction(MetaGradientExAction &&) = default;
- MetaGradientExAction & operator =(MetaGradientExAction const &) = default;
- MetaGradientExAction & operator =(MetaGradientExAction &&) = default;
+ MetaGradientExAction & operator =(MetaGradientExAction const &) = delete; // due to MetaAction
+ MetaGradientExAction & operator =(MetaGradientExAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaGradientExAction() override;
public:
@@ -1024,8 +1024,8 @@ public:
MetaHatchAction();
MetaHatchAction(MetaHatchAction const &) = default;
MetaHatchAction(MetaHatchAction &&) = default;
- MetaHatchAction & operator =(MetaHatchAction const &) = default;
- MetaHatchAction & operator =(MetaHatchAction &&) = default;
+ MetaHatchAction & operator =(MetaHatchAction const &) = delete; // due to MetaAction
+ MetaHatchAction & operator =(MetaHatchAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaHatchAction() override;
public:
@@ -1054,8 +1054,8 @@ public:
MetaWallpaperAction();
MetaWallpaperAction(MetaWallpaperAction const &) = default;
MetaWallpaperAction(MetaWallpaperAction &&) = default;
- MetaWallpaperAction & operator =(MetaWallpaperAction const &) = default;
- MetaWallpaperAction & operator =(MetaWallpaperAction &&) = default;
+ MetaWallpaperAction & operator =(MetaWallpaperAction const &) = delete; // due to MetaAction
+ MetaWallpaperAction & operator =(MetaWallpaperAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaWallpaperAction() override;
public:
@@ -1085,8 +1085,8 @@ public:
MetaClipRegionAction();
MetaClipRegionAction(MetaClipRegionAction const &) = default;
MetaClipRegionAction(MetaClipRegionAction &&) = default;
- MetaClipRegionAction & operator =(MetaClipRegionAction const &) = default;
- MetaClipRegionAction & operator =(MetaClipRegionAction &&) = default;
+ MetaClipRegionAction & operator =(MetaClipRegionAction const &) = delete; // due to MetaAction
+ MetaClipRegionAction & operator =(MetaClipRegionAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaClipRegionAction() override;
public:
@@ -1114,8 +1114,8 @@ public:
MetaISectRectClipRegionAction();
MetaISectRectClipRegionAction(MetaISectRectClipRegionAction const &) = default;
MetaISectRectClipRegionAction(MetaISectRectClipRegionAction &&) = default;
- MetaISectRectClipRegionAction & operator =(MetaISectRectClipRegionAction const &) = default;
- MetaISectRectClipRegionAction & operator =(MetaISectRectClipRegionAction &&) = default;
+ MetaISectRectClipRegionAction & operator =(MetaISectRectClipRegionAction const &) = delete; // due to MetaAction
+ MetaISectRectClipRegionAction & operator =(MetaISectRectClipRegionAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaISectRectClipRegionAction() override;
public:
@@ -1142,8 +1142,8 @@ public:
MetaISectRegionClipRegionAction();
MetaISectRegionClipRegionAction(MetaISectRegionClipRegionAction const &) = default;
MetaISectRegionClipRegionAction(MetaISectRegionClipRegionAction &&) = default;
- MetaISectRegionClipRegionAction & operator =(MetaISectRegionClipRegionAction const &) = default;
- MetaISectRegionClipRegionAction & operator =(MetaISectRegionClipRegionAction &&) = default;
+ MetaISectRegionClipRegionAction & operator =(MetaISectRegionClipRegionAction const &) = delete; // due to MetaAction
+ MetaISectRegionClipRegionAction & operator =(MetaISectRegionClipRegionAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaISectRegionClipRegionAction() override;
public:
@@ -1171,8 +1171,8 @@ public:
MetaMoveClipRegionAction();
MetaMoveClipRegionAction(MetaMoveClipRegionAction const &) = default;
MetaMoveClipRegionAction(MetaMoveClipRegionAction &&) = default;
- MetaMoveClipRegionAction & operator =(MetaMoveClipRegionAction const &) = default;
- MetaMoveClipRegionAction & operator =(MetaMoveClipRegionAction &&) = default;
+ MetaMoveClipRegionAction & operator =(MetaMoveClipRegionAction const &) = delete; // due to MetaAction
+ MetaMoveClipRegionAction & operator =(MetaMoveClipRegionAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaMoveClipRegionAction() override;
public:
@@ -1200,8 +1200,8 @@ public:
MetaLineColorAction();
MetaLineColorAction(MetaLineColorAction const &) = default;
MetaLineColorAction(MetaLineColorAction &&) = default;
- MetaLineColorAction & operator =(MetaLineColorAction const &) = default;
- MetaLineColorAction & operator =(MetaLineColorAction &&) = default;
+ MetaLineColorAction & operator =(MetaLineColorAction const &) = delete; // due to MetaAction
+ MetaLineColorAction & operator =(MetaLineColorAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaLineColorAction() override;
public:
@@ -1227,8 +1227,8 @@ public:
MetaFillColorAction();
MetaFillColorAction(MetaFillColorAction const &) = default;
MetaFillColorAction(MetaFillColorAction &&) = default;
- MetaFillColorAction & operator =(MetaFillColorAction const &) = default;
- MetaFillColorAction & operator =(MetaFillColorAction &&) = default;
+ MetaFillColorAction & operator =(MetaFillColorAction const &) = delete; // due to MetaAction
+ MetaFillColorAction & operator =(MetaFillColorAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaFillColorAction() override;
public:
@@ -1253,8 +1253,8 @@ public:
MetaTextColorAction();
MetaTextColorAction(MetaTextColorAction const &) = default;
MetaTextColorAction(MetaTextColorAction &&) = default;
- MetaTextColorAction & operator =(MetaTextColorAction const &) = default;
- MetaTextColorAction & operator =(MetaTextColorAction &&) = default;
+ MetaTextColorAction & operator =(MetaTextColorAction const &) = delete; // due to MetaAction
+ MetaTextColorAction & operator =(MetaTextColorAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaTextColorAction() override;
public:
@@ -1279,8 +1279,8 @@ public:
MetaTextFillColorAction();
MetaTextFillColorAction(MetaTextFillColorAction const &) = default;
MetaTextFillColorAction(MetaTextFillColorAction &&) = default;
- MetaTextFillColorAction & operator =(MetaTextFillColorAction const &) = default;
- MetaTextFillColorAction & operator =(MetaTextFillColorAction &&) = default;
+ MetaTextFillColorAction & operator =(MetaTextFillColorAction const &) = delete; // due to MetaAction
+ MetaTextFillColorAction & operator =(MetaTextFillColorAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaTextFillColorAction() override;
public:
@@ -1306,8 +1306,8 @@ public:
MetaTextLineColorAction();
MetaTextLineColorAction(MetaTextLineColorAction const &) = default;
MetaTextLineColorAction(MetaTextLineColorAction &&) = default;
- MetaTextLineColorAction & operator =(MetaTextLineColorAction const &) = default;
- MetaTextLineColorAction & operator =(MetaTextLineColorAction &&) = default;
+ MetaTextLineColorAction & operator =(MetaTextLineColorAction const &) = delete; // due to MetaAction
+ MetaTextLineColorAction & operator =(MetaTextLineColorAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaTextLineColorAction() override;
public:
@@ -1333,8 +1333,8 @@ public:
MetaOverlineColorAction();
MetaOverlineColorAction(MetaOverlineColorAction const &) = default;
MetaOverlineColorAction(MetaOverlineColorAction &&) = default;
- MetaOverlineColorAction & operator =(MetaOverlineColorAction const &) = default;
- MetaOverlineColorAction & operator =(MetaOverlineColorAction &&) = default;
+ MetaOverlineColorAction & operator =(MetaOverlineColorAction const &) = delete; // due to MetaAction
+ MetaOverlineColorAction & operator =(MetaOverlineColorAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaOverlineColorAction() override;
public:
@@ -1359,8 +1359,8 @@ public:
MetaTextAlignAction();
MetaTextAlignAction(MetaTextAlignAction const &) = default;
MetaTextAlignAction(MetaTextAlignAction &&) = default;
- MetaTextAlignAction & operator =(MetaTextAlignAction const &) = default;
- MetaTextAlignAction & operator =(MetaTextAlignAction &&) = default;
+ MetaTextAlignAction & operator =(MetaTextAlignAction const &) = delete; // due to MetaAction
+ MetaTextAlignAction & operator =(MetaTextAlignAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaTextAlignAction() override;
public:
@@ -1384,8 +1384,8 @@ public:
MetaMapModeAction();
MetaMapModeAction(MetaMapModeAction const &) = default;
MetaMapModeAction(MetaMapModeAction &&) = default;
- MetaMapModeAction & operator =(MetaMapModeAction const &) = default;
- MetaMapModeAction & operator =(MetaMapModeAction &&) = default;
+ MetaMapModeAction & operator =(MetaMapModeAction const &) = delete; // due to MetaAction
+ MetaMapModeAction & operator =(MetaMapModeAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaMapModeAction() override;
public:
@@ -1411,8 +1411,8 @@ public:
MetaFontAction();
MetaFontAction(MetaFontAction const &) = default;
MetaFontAction(MetaFontAction &&) = default;
- MetaFontAction & operator =(MetaFontAction const &) = default;
- MetaFontAction & operator =(MetaFontAction &&) = default;
+ MetaFontAction & operator =(MetaFontAction const &) = delete; // due to MetaAction
+ MetaFontAction & operator =(MetaFontAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaFontAction() override;
public:
@@ -1438,8 +1438,8 @@ public:
MetaPushAction();
MetaPushAction(MetaPushAction const &) = default;
MetaPushAction(MetaPushAction &&) = default;
- MetaPushAction & operator =(MetaPushAction const &) = default;
- MetaPushAction & operator =(MetaPushAction &&) = default;
+ MetaPushAction & operator =(MetaPushAction const &) = delete; // due to MetaAction
+ MetaPushAction & operator =(MetaPushAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaPushAction() override;
public:
@@ -1460,8 +1460,8 @@ public:
MetaPopAction();
MetaPopAction(MetaPopAction const &) = default;
MetaPopAction(MetaPopAction &&) = default;
- MetaPopAction & operator =(MetaPopAction const &) = default;
- MetaPopAction & operator =(MetaPopAction &&) = default;
+ MetaPopAction & operator =(MetaPopAction const &) = delete; // due to MetaAction
+ MetaPopAction & operator =(MetaPopAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaPopAction() override;
public:
@@ -1481,8 +1481,8 @@ public:
MetaRasterOpAction();
MetaRasterOpAction(MetaRasterOpAction const &) = default;
MetaRasterOpAction(MetaRasterOpAction &&) = default;
- MetaRasterOpAction & operator =(MetaRasterOpAction const &) = default;
- MetaRasterOpAction & operator =(MetaRasterOpAction &&) = default;
+ MetaRasterOpAction & operator =(MetaRasterOpAction const &) = delete; // due to MetaAction
+ MetaRasterOpAction & operator =(MetaRasterOpAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaRasterOpAction() override;
public:
@@ -1507,8 +1507,8 @@ public:
MetaTransparentAction();
MetaTransparentAction(MetaTransparentAction const &) = default;
MetaTransparentAction(MetaTransparentAction &&) = default;
- MetaTransparentAction & operator =(MetaTransparentAction const &) = default;
- MetaTransparentAction & operator =(MetaTransparentAction &&) = default;
+ MetaTransparentAction & operator =(MetaTransparentAction const &) = delete; // due to MetaAction
+ MetaTransparentAction & operator =(MetaTransparentAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaTransparentAction() override;
public:
@@ -1539,8 +1539,8 @@ public:
MetaFloatTransparentAction();
MetaFloatTransparentAction(MetaFloatTransparentAction const &) = default;
MetaFloatTransparentAction(MetaFloatTransparentAction &&) = default;
- MetaFloatTransparentAction & operator =(MetaFloatTransparentAction const &) = default;
- MetaFloatTransparentAction & operator =(MetaFloatTransparentAction &&) = default;
+ MetaFloatTransparentAction & operator =(MetaFloatTransparentAction const &) = delete; // due to MetaAction
+ MetaFloatTransparentAction & operator =(MetaFloatTransparentAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaFloatTransparentAction() override;
public:
@@ -1574,8 +1574,8 @@ public:
MetaEPSAction();
MetaEPSAction(MetaEPSAction const &) = default;
MetaEPSAction(MetaEPSAction &&) = default;
- MetaEPSAction & operator =(MetaEPSAction const &) = default;
- MetaEPSAction & operator =(MetaEPSAction &&) = default;
+ MetaEPSAction & operator =(MetaEPSAction const &) = delete; // due to MetaAction
+ MetaEPSAction & operator =(MetaEPSAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaEPSAction() override;
public:
@@ -1607,8 +1607,8 @@ public:
MetaRefPointAction();
MetaRefPointAction(MetaRefPointAction const &) = default;
MetaRefPointAction(MetaRefPointAction &&) = default;
- MetaRefPointAction & operator =(MetaRefPointAction const &) = default;
- MetaRefPointAction & operator =(MetaRefPointAction &&) = default;
+ MetaRefPointAction & operator =(MetaRefPointAction const &) = delete; // due to MetaAction
+ MetaRefPointAction & operator =(MetaRefPointAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaRefPointAction() override;
public:
@@ -1667,8 +1667,8 @@ public:
MetaLayoutModeAction();
MetaLayoutModeAction(MetaLayoutModeAction const &) = default;
MetaLayoutModeAction(MetaLayoutModeAction &&) = default;
- MetaLayoutModeAction & operator =(MetaLayoutModeAction const &) = default;
- MetaLayoutModeAction & operator =(MetaLayoutModeAction &&) = default;
+ MetaLayoutModeAction & operator =(MetaLayoutModeAction const &) = delete; // due to MetaAction
+ MetaLayoutModeAction & operator =(MetaLayoutModeAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaLayoutModeAction() override;
public:
@@ -1692,8 +1692,8 @@ public:
MetaTextLanguageAction();
MetaTextLanguageAction(MetaTextLanguageAction const &) = default;
MetaTextLanguageAction(MetaTextLanguageAction &&) = default;
- MetaTextLanguageAction & operator =(MetaTextLanguageAction const &) = default;
- MetaTextLanguageAction & operator =(MetaTextLanguageAction &&) = default;
+ MetaTextLanguageAction & operator =(MetaTextLanguageAction const &) = delete; // due to MetaAction
+ MetaTextLanguageAction & operator =(MetaTextLanguageAction &&) = delete; // due to MetaAction
protected:
virtual ~MetaTextLanguageAction() override;
public:
diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx
index 47b2255c06af..f6132e5bb17e 100644
--- a/include/vcl/salnativewidgets.hxx
+++ b/include/vcl/salnativewidgets.hxx
@@ -271,8 +271,8 @@ class VCL_DLLPUBLIC ImplControlValue
ImplControlValue(ImplControlValue const &) = default;
ImplControlValue(ImplControlValue &&) = default;
- ImplControlValue & operator =(ImplControlValue const &) = default;
- ImplControlValue & operator =(ImplControlValue &&) = default;
+ ImplControlValue & operator =(ImplControlValue const &) = delete; // due to const mType
+ ImplControlValue & operator =(ImplControlValue &&) = delete; // due to const mType
virtual ImplControlValue* clone() const;
@@ -317,8 +317,8 @@ class VCL_DLLPUBLIC ScrollbarValue : public ImplControlValue
ScrollbarValue(ScrollbarValue const &) = default;
ScrollbarValue(ScrollbarValue &&) = default;
- ScrollbarValue & operator =(ScrollbarValue const &) = default;
- ScrollbarValue & operator =(ScrollbarValue &&) = default;
+ ScrollbarValue & operator =(ScrollbarValue const &) = delete; // due to ImplControlValue
+ ScrollbarValue & operator =(ScrollbarValue &&) = delete; // due to ImplControlValue
};
class VCL_DLLPUBLIC SliderValue : public ImplControlValue
@@ -339,8 +339,8 @@ class VCL_DLLPUBLIC SliderValue : public ImplControlValue
SliderValue(SliderValue const &) = default;
SliderValue(SliderValue &&) = default;
- SliderValue & operator =(SliderValue const &) = default;
- SliderValue & operator =(SliderValue &&) = default;
+ SliderValue & operator =(SliderValue const &) = delete; // due to ImplControlValue
+ SliderValue & operator =(SliderValue &&) = delete; // due to ImplControlValue
};
/* TabitemValue:
@@ -379,8 +379,8 @@ class VCL_DLLPUBLIC TabitemValue : public ImplControlValue
TabitemValue(TabitemValue const &) = default;
TabitemValue(TabitemValue &&) = default;
- TabitemValue & operator =(TabitemValue const &) = default;
- TabitemValue & operator =(TabitemValue &&) = default;
+ TabitemValue & operator =(TabitemValue const &) = delete; // due to ImplControlValue
+ TabitemValue & operator =(TabitemValue &&) = delete; // due to ImplControlValue
bool isLeftAligned() const { return bool(mnAlignment & TabitemFlags::LeftAligned); }
bool isRightAligned() const { return bool(mnAlignment & TabitemFlags::RightAligned); }
@@ -421,8 +421,8 @@ class VCL_DLLPUBLIC SpinbuttonValue : public ImplControlValue
SpinbuttonValue(SpinbuttonValue const &) = default;
SpinbuttonValue(SpinbuttonValue &&) = default;
- SpinbuttonValue & operator =(SpinbuttonValue const &) = default;
- SpinbuttonValue & operator =(SpinbuttonValue &&) = default;
+ SpinbuttonValue & operator =(SpinbuttonValue const &) = delete; // due to ImplControlValue
+ SpinbuttonValue & operator =(SpinbuttonValue &&) = delete; // due to ImplControlValue
};
/* Toolbarvalue:
@@ -439,8 +439,8 @@ public:
ToolbarValue(ToolbarValue const &) = default;
ToolbarValue(ToolbarValue &&) = default;
- ToolbarValue & operator =(ToolbarValue const &) = default;
- ToolbarValue & operator =(ToolbarValue &&) = default;
+ ToolbarValue & operator =(ToolbarValue const &) = delete; // due to ImplControlValue
+ ToolbarValue & operator =(ToolbarValue &&) = delete; // due to ImplControlValue
tools::Rectangle maGripRect;
bool mbIsTopDockingArea; // indicates that this is the top aligned dockingarea
@@ -460,8 +460,8 @@ public:
virtual MenubarValue* clone() const override;
MenubarValue(MenubarValue const &) = default;
MenubarValue(MenubarValue &&) = default;
- MenubarValue & operator =(MenubarValue const &) = default;
- MenubarValue & operator =(MenubarValue &&) = default;
+ MenubarValue & operator =(MenubarValue const &) = delete; // due to ImplControlValue
+ MenubarValue & operator =(MenubarValue &&) = delete; // due to ImplControlValue
int maTopDockingAreaHeight;
};
@@ -481,8 +481,8 @@ public:
virtual MenupopupValue* clone() const override;
MenupopupValue(MenupopupValue const &) = default;
MenupopupValue(MenupopupValue &&) = default;
- MenupopupValue & operator =(MenupopupValue const &) = default;
- MenupopupValue & operator =(MenupopupValue &&) = default;
+ MenupopupValue & operator =(MenupopupValue const &) = delete; // due to ImplControlValue
+ MenupopupValue & operator =(MenupopupValue &&) = delete; // due to ImplControlValue
tools::Rectangle maItemRect;
};
@@ -501,8 +501,8 @@ public:
PushButtonValue(PushButtonValue const &) = default;
PushButtonValue(PushButtonValue &&) = default;
- PushButtonValue & operator =(PushButtonValue const &) = default;
- PushButtonValue & operator =(PushButtonValue &&) = default;
+ PushButtonValue & operator =(PushButtonValue const &) = delete; // due to ImplControlValue
+ PushButtonValue & operator =(PushButtonValue &&) = delete; // due to ImplControlValue
bool mbBevelButton:1; // only used on OSX
bool mbSingleLine:1; // only used on OSX
diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx
index b881a54a96d5..08363b2ac681 100644
--- a/sc/inc/attrib.hxx
+++ b/sc/inc/attrib.hxx
@@ -89,8 +89,8 @@ public:
ScMergeFlagAttr(ScMergeFlagAttr const &) = default;
ScMergeFlagAttr(ScMergeFlagAttr &&) = default;
- ScMergeFlagAttr & operator =(ScMergeFlagAttr const &) = default;
- ScMergeFlagAttr & operator =(ScMergeFlagAttr &&) = default;
+ ScMergeFlagAttr & operator =(ScMergeFlagAttr const &) = delete; // due to SfxInt16Item
+ ScMergeFlagAttr & operator =(ScMergeFlagAttr &&) = delete; // due to SfxInt16Item
SfxPoolItem * Clone(SfxItemPool * pPool = nullptr) const override;
@@ -201,8 +201,8 @@ public:
ScViewObjectModeItem(ScViewObjectModeItem const &) = default;
ScViewObjectModeItem(ScViewObjectModeItem &&) = default;
- ScViewObjectModeItem & operator =(ScViewObjectModeItem const &) = default;
- ScViewObjectModeItem & operator =(ScViewObjectModeItem &&) = default;
+ ScViewObjectModeItem & operator =(ScViewObjectModeItem const &) = delete; // due to SfxEnumItem<ScVObjMode>
+ ScViewObjectModeItem & operator =(ScViewObjectModeItem &&) = delete; // due to SfxEnumItem<ScVObjMode>
virtual sal_uInt16 GetValueCount() const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
@@ -246,8 +246,8 @@ public:
ScPageScaleToItem(ScPageScaleToItem const &) = default;
ScPageScaleToItem(ScPageScaleToItem &&) = default;
- ScPageScaleToItem & operator =(ScPageScaleToItem const &) = default;
- ScPageScaleToItem & operator =(ScPageScaleToItem &&) = default;
+ ScPageScaleToItem & operator =(ScPageScaleToItem const &) = delete; // due to SfxPoolItem
+ ScPageScaleToItem & operator =(ScPageScaleToItem &&) = delete; // due to SfxPoolItem
virtual ScPageScaleToItem* Clone( SfxItemPool* = nullptr ) const override;
diff --git a/sc/inc/defaultsoptions.hxx b/sc/inc/defaultsoptions.hxx
index 76e187797f48..caafc6dfe152 100644
--- a/sc/inc/defaultsoptions.hxx
+++ b/sc/inc/defaultsoptions.hxx
@@ -45,8 +45,8 @@ public:
ScTpDefaultsItem(ScTpDefaultsItem const &) = default;
ScTpDefaultsItem(ScTpDefaultsItem &&) = default;
- ScTpDefaultsItem & operator =(ScTpDefaultsItem const &) = default;
- ScTpDefaultsItem & operator =(ScTpDefaultsItem &&) = default;
+ ScTpDefaultsItem & operator =(ScTpDefaultsItem const &) = delete; // due to SfxPoolItem
+ ScTpDefaultsItem & operator =(ScTpDefaultsItem &&) = delete; // due to SfxPoolItem
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
diff --git a/sc/inc/docoptio.hxx b/sc/inc/docoptio.hxx
index 32d8d328d523..436c9975ad6d 100644
--- a/sc/inc/docoptio.hxx
+++ b/sc/inc/docoptio.hxx
@@ -142,8 +142,8 @@ public:
ScTpCalcItem(ScTpCalcItem const &) = default;
ScTpCalcItem(ScTpCalcItem &&) = default;
- ScTpCalcItem & operator =(ScTpCalcItem const &) = default;
- ScTpCalcItem & operator =(ScTpCalcItem &&) = default;
+ ScTpCalcItem & operator =(ScTpCalcItem const &) = delete; // due to SfxPoolItem
+ ScTpCalcItem & operator =(ScTpCalcItem &&) = delete; // due to SfxPoolItem
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
diff --git a/sc/inc/editdataarray.hxx b/sc/inc/editdataarray.hxx
index 6075b6ef3bca..0300f3f61d81 100644
--- a/sc/inc/editdataarray.hxx
+++ b/sc/inc/editdataarray.hxx
@@ -37,7 +37,7 @@ public:
Item() = delete;
explicit Item(SCTAB nTab, SCCOL nCol, SCROW nRow,
std::unique_ptr<EditTextObject> pOldData, std::unique_ptr<EditTextObject> pNewData);
- Item(Item const &) = default;
+ Item(Item const &) = delete; // due to mpOldData
Item(Item&&) = default;
~Item();
diff --git a/sc/inc/formulaopt.hxx b/sc/inc/formulaopt.hxx
index 72aed45577c9..741eb4e98cb6 100644
--- a/sc/inc/formulaopt.hxx
+++ b/sc/inc/formulaopt.hxx
@@ -83,8 +83,8 @@ public:
ScTpFormulaItem(ScTpFormulaItem const &) = default;
ScTpFormulaItem(ScTpFormulaItem &&) = default;
- ScTpFormulaItem & operator =(ScTpFormulaItem const &) = default;
- ScTpFormulaItem & operator =(ScTpFormulaItem &&) = default;
+ ScTpFormulaItem & operator =(ScTpFormulaItem const &) = delete; // due to SfxPoolItem
+ ScTpFormulaItem & operator =(ScTpFormulaItem &&) = delete; // due to SfxPoolItem
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
diff --git a/sc/inc/printopt.hxx b/sc/inc/printopt.hxx
index 68c3056f86fe..de53c502c74c 100644
--- a/sc/inc/printopt.hxx
+++ b/sc/inc/printopt.hxx
@@ -56,8 +56,8 @@ public:
ScTpPrintItem(ScTpPrintItem const &) = default;
ScTpPrintItem(ScTpPrintItem &&) = default;
- ScTpPrintItem & operator =(ScTpPrintItem const &) = default;
- ScTpPrintItem & operator =(ScTpPrintItem &&) = default;
+ ScTpPrintItem & operator =(ScTpPrintItem const &) = delete; // due to SfxPoolItem
+ ScTpPrintItem & operator =(ScTpPrintItem &&) = delete; // due to SfxPoolItem
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
diff --git a/sc/inc/refhint.hxx b/sc/inc/refhint.hxx
index 4bc7eb468110..cfdcaa6ec40e 100644
--- a/sc/inc/refhint.hxx
+++ b/sc/inc/refhint.hxx
@@ -84,8 +84,8 @@ public:
RefColReorderHint(RefColReorderHint const &) = default;
RefColReorderHint(RefColReorderHint &&) = default;
- RefColReorderHint & operator =(RefColReorderHint const &) = default;
- RefColReorderHint & operator =(RefColReorderHint &&) = default;
+ RefColReorderHint & operator =(RefColReorderHint const &) = delete; // due to mrColMap
+ RefColReorderHint & operator =(RefColReorderHint &&) = delete; // due to mrColMap
const sc::ColRowReorderMapType& getColMap() const;
@@ -107,8 +107,8 @@ public:
RefRowReorderHint(RefRowReorderHint const &) = default;
RefRowReorderHint(RefRowReorderHint &&) = default;
- RefRowReorderHint & operator =(RefRowReorderHint const &) = default;
- RefRowReorderHint & operator =(RefRowReorderHint &&) = default;
+ RefRowReorderHint & operator =(RefRowReorderHint const &) = delete; // due to mrRowMap
+ RefRowReorderHint & operator =(RefRowReorderHint &&) = delete; // due to mrRowMap
const sc::ColRowReorderMapType& getRowMap() const;
diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx
index 6a1d1ee946f7..c76e67ed140e 100644
--- a/sc/inc/textuno.hxx
+++ b/sc/inc/textuno.hxx
@@ -222,8 +222,8 @@ public:
ScCellTextCursor(ScCellTextCursor const &) = default;
ScCellTextCursor(ScCellTextCursor &&) = default;
- ScCellTextCursor & operator =(ScCellTextCursor const &) = default;
- ScCellTextCursor & operator =(ScCellTextCursor &&) = default;
+ ScCellTextCursor & operator =(ScCellTextCursor const &) = delete; // due to SvxUnoTextCursor
+ ScCellTextCursor & operator =(ScCellTextCursor &&) = delete; // due to SvxUnoTextCursor
ScCellObj& GetCellObj() const { return *mxTextObj; }
@@ -253,8 +253,8 @@ public:
ScHeaderFooterTextCursor(ScHeaderFooterTextCursor const &) = default;
ScHeaderFooterTextCursor(ScHeaderFooterTextCursor &&) = default;
- ScHeaderFooterTextCursor & operator =(ScHeaderFooterTextCursor const &) = default;
- ScHeaderFooterTextCursor & operator =(ScHeaderFooterTextCursor &&) = default;
+ ScHeaderFooterTextCursor & operator =(ScHeaderFooterTextCursor const &) = delete; // due to SvxUnoTextCursor
+ ScHeaderFooterTextCursor & operator =(ScHeaderFooterTextCursor &&) = delete; // due to SvxUnoTextCursor
// SvxUnoTextCursor methods reimplemented here:
virtual css::uno::Reference< css::text::XText > SAL_CALL
@@ -283,8 +283,8 @@ public:
ScDrawTextCursor(ScDrawTextCursor const &) = default;
ScDrawTextCursor(ScDrawTextCursor &&) = default;
- ScDrawTextCursor & operator =(ScDrawTextCursor const &) = default;
- ScDrawTextCursor & operator =(ScDrawTextCursor &&) = default;
+ ScDrawTextCursor & operator =(ScDrawTextCursor const &) = delete; // due to SvxUnoTextCursor
+ ScDrawTextCursor & operator =(ScDrawTextCursor &&) = delete; // due to SvxUnoTextCursor
// SvxUnoTextCursor methods reimplemented here:
virtual css::uno::Reference< css::text::XText > SAL_CALL
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index 6ee0607737ab..95fb24e5e2b5 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -143,8 +143,8 @@ public:
ScExternalSingleRefToken(ScExternalSingleRefToken const &) = default;
ScExternalSingleRefToken(ScExternalSingleRefToken &&) = default;
- ScExternalSingleRefToken & operator =(ScExternalSingleRefToken const &) = default;
- ScExternalSingleRefToken & operator =(ScExternalSingleRefToken &&) = default;
+ ScExternalSingleRefToken & operator =(ScExternalSingleRefToken const &) = delete; // due to FormulaToken
+ ScExternalSingleRefToken & operator =(ScExternalSingleRefToken &&) = delete; // due to FormulaToken
virtual sal_uInt16 GetIndex() const override;
virtual svl::SharedString GetString() const override;
@@ -167,8 +167,8 @@ public:
ScExternalDoubleRefToken(ScExternalDoubleRefToken const &) = default;
ScExternalDoubleRefToken(ScExternalDoubleRefToken &&) = default;
- ScExternalDoubleRefToken & operator =(ScExternalDoubleRefToken const &) = default;
- ScExternalDoubleRefToken & operator =(ScExternalDoubleRefToken &&) = default;
+ ScExternalDoubleRefToken & operator =(ScExternalDoubleRefToken const &) = delete; // due to FormulaToken
+ ScExternalDoubleRefToken & operator =(ScExternalDoubleRefToken &&) = delete; // due to FormulaToken
virtual sal_uInt16 GetIndex() const override;
virtual svl::SharedString GetString() const override;
@@ -194,8 +194,8 @@ public:
ScExternalNameToken(ScExternalNameToken const &) = default;
ScExternalNameToken(ScExternalNameToken &&) = default;
- ScExternalNameToken & operator =(ScExternalNameToken const &) = default;
- ScExternalNameToken & operator =(ScExternalNameToken &&) = default;
+ ScExternalNameToken & operator =(ScExternalNameToken const &) = delete; // due to FormulaToken
+ ScExternalNameToken & operator =(ScExternalNameToken &&) = delete; // due to FormulaToken
virtual sal_uInt16 GetIndex() const override;
virtual svl::SharedString GetString() const override;
diff --git a/sc/inc/userdat.hxx b/sc/inc/userdat.hxx
index 7e32d3c32ab1..d3d9de0cfcc1 100644
--- a/sc/inc/userdat.hxx
+++ b/sc/inc/userdat.hxx
@@ -90,8 +90,8 @@ public:
ScMacroInfo(ScMacroInfo const &) = default;
ScMacroInfo(ScMacroInfo &&) = default;
- ScMacroInfo & operator =(ScMacroInfo const &) = default;
- ScMacroInfo & operator =(ScMacroInfo &&) = default;
+ ScMacroInfo & operator =(ScMacroInfo const &) = delete; // due to SdrObjUserData
+ ScMacroInfo & operator =(ScMacroInfo &&) = delete; // due to SdrObjUserData
virtual std::unique_ptr<SdrObjUserData> Clone( SdrObject* pObj ) const override;
diff --git a/sc/inc/viewopti.hxx b/sc/inc/viewopti.hxx
index b7870ddb646a..463de1c698fe 100644
--- a/sc/inc/viewopti.hxx
+++ b/sc/inc/viewopti.hxx
@@ -118,8 +118,8 @@ public:
ScTpViewItem(ScTpViewItem const &) = default;
ScTpViewItem(ScTpViewItem &&) = default;
- ScTpViewItem & operator =(ScTpViewItem const &) = default;
- ScTpViewItem & operator =(ScTpViewItem &&) = default;
+ ScTpViewItem & operator =(ScTpViewItem const &) = delete; // due to SfxPoolItem
+ ScTpViewItem & operator =(ScTpViewItem &&) = delete; // due to SfxPoolItem
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
diff --git a/sc/source/filter/inc/workbookhelper.hxx b/sc/source/filter/inc/workbookhelper.hxx
index 0d03de6389d5..b7f09aeef717 100644
--- a/sc/source/filter/inc/workbookhelper.hxx
+++ b/sc/source/filter/inc/workbookhelper.hxx
@@ -106,8 +106,8 @@ public:
WorkbookHelper(WorkbookHelper const &) = default;
WorkbookHelper(WorkbookHelper &&) = default;
- WorkbookHelper & operator =(WorkbookHelper const &) = default;
- WorkbookHelper & operator =(WorkbookHelper &&) = default;
+ WorkbookHelper & operator =(WorkbookHelper const &) = delete; // due to mrBookGlob
+ WorkbookHelper & operator =(WorkbookHelper &&) = delete; // due to mrBookGlob
static WorkbookGlobalsRef constructGlobals( ExcelFilter& rFilter );
diff --git a/sc/source/filter/inc/xechart.hxx b/sc/source/filter/inc/xechart.hxx
index d9fca5961ea2..8cae7ee7bf4b 100644
--- a/sc/source/filter/inc/xechart.hxx
+++ b/sc/source/filter/inc/xechart.hxx
@@ -85,8 +85,8 @@ public:
XclExpChRoot(XclExpChRoot const &) = default;
XclExpChRoot(XclExpChRoot &&) = default;
- XclExpChRoot & operator =(XclExpChRoot const &) = default;
- XclExpChRoot & operator =(XclExpChRoot &&) = default;
+ XclExpChRoot & operator =(XclExpChRoot const &) = delete; // due to XclExpRoot
+ XclExpChRoot & operator =(XclExpChRoot &&) = delete; // due to XclExpRoot
/** Returns this root instance - for code readability in derived classes. */
const XclExpChRoot& GetChRoot() const { return *this; }
diff --git a/sc/source/filter/inc/xichart.hxx b/sc/source/filter/inc/xichart.hxx
index 824537d20798..ec033e5b4d3e 100644
--- a/sc/source/filter/inc/xichart.hxx
+++ b/sc/source/filter/inc/xichart.hxx
@@ -84,8 +84,8 @@ public:
XclImpChRoot(XclImpChRoot const &) = default;
XclImpChRoot(XclImpChRoot &&) = default;
- XclImpChRoot & operator =(XclImpChRoot const &) = default;
- XclImpChRoot & operator =(XclImpChRoot &&) = default;
+ XclImpChRoot & operator =(XclImpChRoot const &) = delete; // due to XclImpRoot
+ XclImpChRoot & operator =(XclImpChRoot &&) = delete; // due to XclImpRoot
/** Returns this root instance - for code readability in derived classes. */
const XclImpChRoot& GetChRoot() const { return *this; }
diff --git a/sc/source/ui/inc/condformatdlgitem.hxx b/sc/source/ui/inc/condformatdlgitem.hxx
index 55f2e1a5ade2..149bf6d61351 100644
--- a/sc/source/ui/inc/condformatdlgitem.hxx
+++ b/sc/source/ui/inc/condformatdlgitem.hxx
@@ -44,8 +44,8 @@ public:
ScCondFormatDlgItem(ScCondFormatDlgItem const &) = default;
ScCondFormatDlgItem(ScCondFormatDlgItem &&) = default;
- ScCondFormatDlgItem & operator =(ScCondFormatDlgItem const &) = default;
- ScCondFormatDlgItem & operator =(ScCondFormatDlgItem &&) = default;
+ ScCondFormatDlgItem & operator =(ScCondFormatDlgItem const &) = delete; // due to SfxPoolItem
+ ScCondFormatDlgItem & operator =(ScCondFormatDlgItem &&) = delete; // due to SfxPoolItem
virtual bool operator==(const SfxPoolItem&) const override;
virtual SfxPoolItem* Clone(SfxItemPool* pPool = nullptr) const override;
diff --git a/sd/source/ui/inc/optsitem.hxx b/sd/source/ui/inc/optsitem.hxx
index 7c62ab57e957..3ed947372b1c 100644
--- a/sd/source/ui/inc/optsitem.hxx
+++ b/sd/source/ui/inc/optsitem.hxx
@@ -50,8 +50,8 @@ public:
SdOptionsItem(SdOptionsItem const &) = default;
SdOptionsItem(SdOptionsItem &&) = default;
- SdOptionsItem & operator =(SdOptionsItem const &) = default;
- SdOptionsItem & operator =(SdOptionsItem &&) = default;
+ SdOptionsItem & operator =(SdOptionsItem const &) = delete; // due to ConfigItem
+ SdOptionsItem & operator =(SdOptionsItem &&) = delete; // due to ConfigItem
virtual void Notify( const css::uno::Sequence<OUString>& aPropertyNames) override;
diff --git a/sw/inc/ccoll.hxx b/sw/inc/ccoll.hxx
index 3b6ef8b7d11b..59be8f9e7cb4 100644
--- a/sw/inc/ccoll.hxx
+++ b/sw/inc/ccoll.hxx
@@ -48,8 +48,8 @@ public:
SwCondCollItem(SwCondCollItem const &) = default;
SwCondCollItem(SwCondCollItem &&) = default;
- SwCondCollItem & operator =(SwCondCollItem const &) = default;
- SwCondCollItem & operator =(SwCondCollItem &&) = default;
+ SwCondCollItem & operator =(SwCondCollItem const &) = delete; // due to SfxPoolItem
+ SwCondCollItem & operator =(SwCondCollItem &&) = delete; // due to SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual bool operator==( const SfxPoolItem& ) const override;
diff --git a/sw/inc/fmtline.hxx b/sw/inc/fmtline.hxx
index 405176cf0e53..e1a48b3a5070 100644
--- a/sw/inc/fmtline.hxx
+++ b/sw/inc/fmtline.hxx
@@ -37,8 +37,8 @@ public:
SwFormatLineNumber(SwFormatLineNumber const &) = default;
SwFormatLineNumber(SwFormatLineNumber &&) = default;
- SwFormatLineNumber & operator =(SwFormatLineNumber const &) = default;
- SwFormatLineNumber & operator =(SwFormatLineNumber &&) = default;
+ SwFormatLineNumber & operator =(SwFormatLineNumber const &) = delete; // due to SfxPoolItem
+ SwFormatLineNumber & operator =(SwFormatLineNumber &&) = delete; // due to SfxPoolItem
static SfxPoolItem* CreateDefault();
diff --git a/sw/inc/fmtwrapinfluenceonobjpos.hxx b/sw/inc/fmtwrapinfluenceonobjpos.hxx
index 2b016a6f4979..c4fb82eb9c10 100644
--- a/sw/inc/fmtwrapinfluenceonobjpos.hxx
+++ b/sw/inc/fmtwrapinfluenceonobjpos.hxx
@@ -38,8 +38,8 @@ public:
SwFormatWrapInfluenceOnObjPos(SwFormatWrapInfluenceOnObjPos const &) = default;
SwFormatWrapInfluenceOnObjPos(SwFormatWrapInfluenceOnObjPos &&) = default;
- SwFormatWrapInfluenceOnObjPos & operator =(SwFormatWrapInfluenceOnObjPos const &) = default;
- SwFormatWrapInfluenceOnObjPos & operator =(SwFormatWrapInfluenceOnObjPos &&) = default;
+ SwFormatWrapInfluenceOnObjPos & operator =(SwFormatWrapInfluenceOnObjPos const &) = delete; // due to SfxPoolItem
+ SwFormatWrapInfluenceOnObjPos & operator =(SwFormatWrapInfluenceOnObjPos &&) = delete; // due to SfxPoolItem
/// pure virtual methods of class <SfxPoolItem>
virtual bool operator==( const SfxPoolItem& _rAttr ) const override;
diff --git a/sw/inc/tgrditem.hxx b/sw/inc/tgrditem.hxx
index a668ed297d68..c44e288cefae 100644
--- a/sw/inc/tgrditem.hxx
+++ b/sw/inc/tgrditem.hxx
@@ -52,8 +52,8 @@ public:
SwTextGridItem(SwTextGridItem const &) = default;
SwTextGridItem(SwTextGridItem &&) = default;
- SwTextGridItem & operator =(SwTextGridItem const &) = default;
- SwTextGridItem & operator =(SwTextGridItem &&) = default;
+ SwTextGridItem & operator =(SwTextGridItem const &) = delete; // due to SfxPoolItem
+ SwTextGridItem & operator =(SwTextGridItem &&) = delete; // due to SfxPoolItem
// "pure virtual methods" of SfxPoolItem
virtual bool operator==( const SfxPoolItem& ) const override;
diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx
index 74fbfcecec31..1387ad1b5c6f 100644
--- a/sw/source/filter/ww8/ww8par.hxx
+++ b/sw/source/filter/ww8/ww8par.hxx
@@ -506,8 +506,8 @@ public:
SwMacroInfo(SwMacroInfo const &) = default;
SwMacroInfo(SwMacroInfo &&) = default;
- SwMacroInfo & operator =(SwMacroInfo const &) = default;
- SwMacroInfo & operator =(SwMacroInfo &&) = default;
+ SwMacroInfo & operator =(SwMacroInfo const &) = delete; // due to SdrObjUserData
+ SwMacroInfo & operator =(SwMacroInfo &&) = delete; // due to SdrObjUserData
virtual std::unique_ptr<SdrObjUserData> Clone( SdrObject* pObj ) const override;
diff --git a/sw/source/uibase/inc/uiitems.hxx b/sw/source/uibase/inc/uiitems.hxx
index 66baa0e306d2..deac6631a37a 100644
--- a/sw/source/uibase/inc/uiitems.hxx
+++ b/sw/source/uibase/inc/uiitems.hxx
@@ -41,8 +41,8 @@ public:
SwPageFootnoteInfoItem(SwPageFootnoteInfoItem const &) = default;
SwPageFootnoteInfoItem(SwPageFootnoteInfoItem &&) = default;
- SwPageFootnoteInfoItem & operator =(SwPageFootnoteInfoItem const &) = default;
- SwPageFootnoteInfoItem & operator =(SwPageFootnoteInfoItem &&) = default;
+ SwPageFootnoteInfoItem & operator =(SwPageFootnoteInfoItem const &) = delete; // due to SfxPoolItem
+ SwPageFootnoteInfoItem & operator =(SwPageFootnoteInfoItem &&) = delete; // due to SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual bool operator==( const SfxPoolItem& ) const override;
diff --git a/toolkit/source/controls/spinningprogress.cxx b/toolkit/source/controls/spinningprogress.cxx
index 4792b98fae27..81abaedff2b8 100644
--- a/toolkit/source/controls/spinningprogress.cxx
+++ b/toolkit/source/controls/spinningprogress.cxx
@@ -36,8 +36,8 @@ public:
SpinningProgressControlModel(SpinningProgressControlModel const &) = default;
SpinningProgressControlModel(SpinningProgressControlModel &&) = default;
- SpinningProgressControlModel & operator =(SpinningProgressControlModel const &) = default;
- SpinningProgressControlModel & operator =(SpinningProgressControlModel &&) = default;
+ SpinningProgressControlModel & operator =(SpinningProgressControlModel const &) = delete; // due to SpinningProgressControlModel_Base
+ SpinningProgressControlModel & operator =(SpinningProgressControlModel &&) = delete; // due to SpinningProgressControlModel_Base
virtual rtl::Reference<UnoControlModel> Clone() const override;
diff --git a/writerfilter/source/ooxml/OOXMLPropertySet.hxx b/writerfilter/source/ooxml/OOXMLPropertySet.hxx
index ecaeadb21014..3628ab6696c6 100644
--- a/writerfilter/source/ooxml/OOXMLPropertySet.hxx
+++ b/writerfilter/source/ooxml/OOXMLPropertySet.hxx
@@ -103,8 +103,8 @@ public:
OOXMLBooleanValue(OOXMLBooleanValue const &) = default;
OOXMLBooleanValue(OOXMLBooleanValue &&) = default;
- OOXMLBooleanValue & operator =(OOXMLBooleanValue const &) = default;
- OOXMLBooleanValue & operator =(OOXMLBooleanValue &&) = default;
+ OOXMLBooleanValue & operator =(OOXMLBooleanValue const &) = delete; // due to const mbValue
+ OOXMLBooleanValue & operator =(OOXMLBooleanValue &&) = delete; // due to const mbValue
virtual int getInt() const override;
virtual css::uno::Any getAny() const override;
@@ -123,8 +123,8 @@ public:
OOXMLStringValue(OOXMLStringValue const &) = default;
OOXMLStringValue(OOXMLStringValue &&) = default;
- OOXMLStringValue & operator =(OOXMLStringValue const &) = default;
- OOXMLStringValue & operator =(OOXMLStringValue &&) = default;
+ OOXMLStringValue & operator =(OOXMLStringValue const &) = delete; // due to const mStr
+ OOXMLStringValue & operator =(OOXMLStringValue &&) = delete; // due to const mStr
virtual css::uno::Any getAny() const override;
virtual OUString getString() const override;
@@ -212,8 +212,8 @@ public:
OOXMLPropertySetValue(OOXMLPropertySetValue const &) = default;
OOXMLPropertySetValue(OOXMLPropertySetValue &&) = default;
- OOXMLPropertySetValue & operator =(OOXMLPropertySetValue const &) = default;
- OOXMLPropertySetValue & operator =(OOXMLPropertySetValue &&) = default;
+ OOXMLPropertySetValue & operator =(OOXMLPropertySetValue const &) = delete; // due to const mpPropertySet
+ OOXMLPropertySetValue & operator =(OOXMLPropertySetValue &&) = delete; // due to const mpPropertySet
virtual writerfilter::Reference<Properties>::Pointer_t getProperties() override;
#ifdef DEBUG_WRITERFILTER
@@ -232,8 +232,8 @@ public:
OOXMLIntegerValue(OOXMLIntegerValue const &) = default;
OOXMLIntegerValue(OOXMLIntegerValue &&) = default;
- OOXMLIntegerValue & operator =(OOXMLIntegerValue const &) = default;
- OOXMLIntegerValue & operator =(OOXMLIntegerValue &&) = default;
+ OOXMLIntegerValue & operator =(OOXMLIntegerValue const &) = delete; // due to const mnValue
+ OOXMLIntegerValue & operator =(OOXMLIntegerValue &&) = delete; // due to const mnValue
virtual int getInt() const override;
virtual css::uno::Any getAny() const override;
More information about the Libreoffice-commits
mailing list