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