summaryrefslogtreecommitdiff
path: root/sw/inc/tgrditem.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/tgrditem.hxx')
-rw-r--r--sw/inc/tgrditem.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/inc/tgrditem.hxx b/sw/inc/tgrditem.hxx
index 30cf95066fb8..a668ed297d68 100644
--- a/sw/inc/tgrditem.hxx
+++ b/sw/inc/tgrditem.hxx
@@ -50,6 +50,11 @@ public:
SwTextGridItem();
virtual ~SwTextGridItem() override;
+ SwTextGridItem(SwTextGridItem const &) = default;
+ SwTextGridItem(SwTextGridItem &&) = default;
+ SwTextGridItem & operator =(SwTextGridItem const &) = default;
+ SwTextGridItem & operator =(SwTextGridItem &&) = default;
+
// "pure virtual methods" of SfxPoolItem
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool* pPool = nullptr ) const override;
@@ -61,8 +66,6 @@ public:
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
- SwTextGridItem& operator=( const SwTextGridItem& );
-
const Color& GetColor() const { return m_aColor; }
void SetColor( const Color& rCol ) { m_aColor = rCol; }