summaryrefslogtreecommitdiffstats
path: root/sw/inc/node.hxx
diff options
context:
space:
mode:
authorAdam Co <rattles2013@gmail.com>2014-03-23 13:19:15 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-03-23 15:40:57 +0100
commit7f4f5cd71c6ccd24186fea3aafe7fcbe95630ad6 (patch)
treeb6c481238c4068b941d98d33cdac92823781d38b /sw/inc/node.hxx
parentfdo#74981: cutting nothing should do nothing, should fix field dupes (diff)
downloadcore-7f4f5cd71c6ccd24186fea3aafe7fcbe95630ad6.tar.gz
core-7f4f5cd71c6ccd24186fea3aafe7fcbe95630ad6.zip
Remove table-related redlines when table,row,cell removed
A table, a row or a cell might have redlines objects attached to it. This patch makes sure than when a table\row\cell are removed - any redlines that are attached to them are removed from the 'SwExtraRedlineTbl' object. This is to prevent any 'orphaned' redline objects. Conflicts: sw/source/core/doc/docredln.cxx Reviewed on: https://gerrit.libreoffice.org/8726 Change-Id: I992e3fb4aadeb891ffd472b5d638d337a8609c01
Diffstat (limited to 'sw/inc/node.hxx')
-rw-r--r--sw/inc/node.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index d1aa67a105ca..033a28f9402a 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -515,6 +515,9 @@ public:
SwTableNode* MakeCopy( SwDoc*, const SwNodeIndex& ) const;
void SetNewTable( SwTable* , sal_Bool bNewFrames=sal_True );
+ // Removes redline objects that relate to this table from the 'Extra Redlines' table
+ void RemoveRedlines();
+
private:
/// Private constructor because copying is never allowed!!
SwTableNode( const SwTableNode & rNode );