diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-08-29 12:32:51 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-08-29 11:34:25 +0000 |
commit | d017362bc68fe40c4bd79db76614d84aa9be913d (patch) | |
tree | 13f2ca6c43ee41a79c3cca4c8570d8b3549a8f7b /sw/inc | |
parent | 412f514365ce6646f6221768ed2c46206dd0c91f (diff) |
sw lok: emit REDLINE_TABLE_ENTRY_MODIFIED when deleting self-added characters
This doesn't work out of the box via SwRangeRedline::SetStart/End,
because the range of the redline is adjusted when redlining is disabled
by sw::DocumentRedlineManager::AppendRedline() when it compresses the
insert and delete redlines into a single reduced insert redline, and
then the redline is updated implicitly via SwIndex.
Change-Id: I4b652348b256df75e4c774ea5f3fdd78f59deb01
Reviewed-on: https://gerrit.libreoffice.org/28454
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/redline.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx index 55d4076d375a..d1dbd528c4d8 100644 --- a/sw/inc/redline.hxx +++ b/sw/inc/redline.hxx @@ -190,7 +190,6 @@ class SW_DLLPUBLIC SwRangeRedline : public SwPaM void CopyToSection(); void DelCopyOfSection(size_t nMyPos); void MoveFromSection(size_t nMyPos); - void MaybeNotifyModification(); public: SwRangeRedline( RedlineType_t eType, const SwPaM& rPam ); @@ -282,6 +281,7 @@ public: bool operator<( const SwRangeRedline& ) const; void dumpAsXml(struct _xmlTextWriter* pWriter) const; + void MaybeNotifyModification(); }; /// Base object for 'Redlines' that are not of 'Ranged' type (like table row insert\delete) |