diff options
Diffstat (limited to 'sc/inc/printopt.hxx')
-rw-r--r-- | sc/inc/printopt.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |