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