diff options
author | Adam Co <rattles2013@gmail.com> | 2014-03-23 13:19:15 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-03-23 15:40:57 +0100 |
commit | 7f4f5cd71c6ccd24186fea3aafe7fcbe95630ad6 (patch) | |
tree | b6c481238c4068b941d98d33cdac92823781d38b /sw/inc/IDocumentRedlineAccess.hxx | |
parent | 31b76e83d70718c95ac7913469629ea2c0294bfe (diff) |
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/IDocumentRedlineAccess.hxx')
-rw-r--r-- | sw/inc/IDocumentRedlineAccess.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/IDocumentRedlineAccess.hxx b/sw/inc/IDocumentRedlineAccess.hxx index 48320be8374a..2700a3116ef9 100644 --- a/sw/inc/IDocumentRedlineAccess.hxx +++ b/sw/inc/IDocumentRedlineAccess.hxx @@ -134,6 +134,8 @@ public: virtual const SwRedlineTbl& GetRedlineTbl() const = 0; virtual const SwExtraRedlineTbl& GetExtraRedlineTbl() const = 0; + virtual SwExtraRedlineTbl& GetExtraRedlineTbl() = 0; + virtual bool HasExtraRedlineTbl() const = 0; virtual bool IsInRedlines(const SwNode& rNode) const = 0; |