diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-08-04 10:43:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-08-04 17:02:21 +0200 |
commit | 31c7f9c79d20afdd72de530b8bec22c10b472bf7 (patch) | |
tree | 723aac4c1c0763dfb44491befeffff7103bf20bc /sw/source/uibase/inc/swtablerep.hxx | |
parent | 43ad29331c3f3cda4a0455545d83b7a9e2b2df4b (diff) |
tdf#134925 operate on a copy of the original SwTableRep
and keep the original around for use from ::Reset and overwrite
the original SwTableRep on commit
Change-Id: I18e078e577382c4c13d6f5e576cc1eeec15a7906
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100072
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/inc/swtablerep.hxx')
-rw-r--r-- | sw/source/uibase/inc/swtablerep.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/uibase/inc/swtablerep.hxx b/sw/source/uibase/inc/swtablerep.hxx index e57a4e6d19b6..8e86093fae8e 100644 --- a/sw/source/uibase/inc/swtablerep.hxx +++ b/sw/source/uibase/inc/swtablerep.hxx @@ -51,6 +51,11 @@ public: SwTableRep( const SwTabCols& rTabCol ); ~SwTableRep(); + SwTableRep( const SwTableRep& rCopy ) = default; + SwTableRep( SwTableRep&& rCopy ) = default; + SwTableRep& operator=(const SwTableRep& rCopy) = default; + SwTableRep& operator=(SwTableRep&& rCopy) = default; + bool FillTabCols( SwTabCols& rTabCol ) const; SwTwips GetLeftSpace() const {return m_nLeftSpace;} |