Kaydet (Commit) 4fe5b44b authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#90138 don't try to save a marks OtherPos if it doesn't have one

Change-Id: I522a236015c91c0744b3018d3d4e4d6c65ea19ab
üst 74e673b4
...@@ -756,7 +756,7 @@ void SwUndoSaveCntnt::DelCntntIndex( const SwPosition& rMark, ...@@ -756,7 +756,7 @@ void SwUndoSaveCntnt::DelCntntIndex( const SwPosition& rMark,
if ( *pStt < rAnnotationEndPos && rAnnotationEndPos <= *pEnd ) if ( *pStt < rAnnotationEndPos && rAnnotationEndPos <= *pEnd )
{ {
bSavePos = true; bSavePos = true;
bSaveOtherPos = true; bSaveOtherPos = pBkmk->IsExpanded(); //tdf#90138, only save the other pos if there is one
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment