summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-03 15:39:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-04-03 15:39:30 +0100
commit4fe5b44b15647542b1550deaeee43ec3d1e57591 (patch)
treeae93944e0ccd30aa4700e29ab82389a682ef9165
parent74e673b49fdf8daa3365961de5fb0c9c6d831279 (diff)
Resolves: tdf#90138 don't try to save a marks OtherPos if it doesn't have one
Change-Id: I522a236015c91c0744b3018d3d4e4d6c65ea19ab
-rw-r--r--sw/source/core/undo/undobj.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/undo/undobj.cxx b/sw/source/core/undo/undobj.cxx
index 5f781c338dfc..92fd62153f9b 100644
--- a/sw/source/core/undo/undobj.cxx
+++ b/sw/source/core/undo/undobj.cxx
@@ -756,7 +756,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
}
}
}