diff options
author | László Németh <nemeth@numbertext.org> | 2021-03-17 11:24:42 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2021-03-17 22:17:12 +0100 |
commit | a001a66ba27e2fe9a485388869d53f001f2b09af (patch) | |
tree | 2a6837a7f55c43a168bd23c3db753abf9b6f1125 /sw/inc | |
parent | feb6fd1f4213ef114e63a3dd398c2cba6a5e93ea (diff) |
tdf#140982 sw ChangesInMargin: fix annotation ranges
Annotation ranges of tracked deletions collapsed in
ChangesInMargin mode (as before saving the document,
see commit d325cd0c69b7c0cc4f47105749a98995de81cc9d
"tdf#115815 sw: fix lost annotation ranges of redlines").
Change-Id: I413804cfcdf972f054b65e28e6265c30d25731e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112644
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/IDocumentMarkAccess.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/IDocumentMarkAccess.hxx b/sw/inc/IDocumentMarkAccess.hxx index 801ce98ba503..49ce72ad28b4 100644 --- a/sw/inc/IDocumentMarkAccess.hxx +++ b/sw/inc/IDocumentMarkAccess.hxx @@ -343,7 +343,7 @@ class IDocumentMarkAccess virtual sw::mark::IMark* getAnnotationMarkFor(const SwPosition& rPosition) const = 0; // restore text ranges of annotations of tracked deletions // based on the helper bookmarks (which can survive I/O and hiding redlines) - virtual void restoreAnnotationMarks() = 0; + virtual void restoreAnnotationMarks(bool bDelete = true) = 0; /** Finds the first mark that is starting after. @returns |