diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-03 15:39:30 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-04-14 15:08:05 +0200 |
commit | 140adce88d2e5c0c80bb79385c7778a6fddfd72f (patch) | |
tree | 7ea7de8d770618ac55f072a3d63d6e5bd0d1de6c /sw | |
parent | 0923e527291070ccf1262d17b1cd168b5caa1f93 (diff) |
Resolves: tdf#90138 don't try to save a marks OtherPos if it doesn't have one
Change-Id: I522a236015c91c0744b3018d3d4e4d6c65ea19ab
(cherry picked from commit 4fe5b44b15647542b1550deaeee43ec3d1e57591)
Reviewed-on: https://gerrit.libreoffice.org/15141
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/undo/undobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/undo/undobj.cxx b/sw/source/core/undo/undobj.cxx index 78697dcf1a80..2134e04a7c95 100644 --- a/sw/source/core/undo/undobj.cxx +++ b/sw/source/core/undo/undobj.cxx @@ -783,7 +783,7 @@ void SwUndoSaveCntnt::DelCntntIndex( const SwPosition& rMark, if ( *pStt < rAnnotationEndPos && rAnnotationEndPos <= *pEnd ) { bSavePos = true; - bSaveOtherPos = true; + bSaveOtherPos = pBkmk->IsExpanded(); //tdf#90138, only save the other pos if there is one } } } |