summaryrefslogtreecommitdiffstats
path: root/sw/inc/ccoll.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/ccoll.hxx')
-rw-r--r--sw/inc/ccoll.hxx4
1 files changed, 2 insertions, 2 deletions
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;