sw/source/core/undo/undobj.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4fe5b44b15647542b1550deaeee43ec3d1e57591 Author: Caolán McNamara <caol...@redhat.com> Date: Fri Apr 3 15:39:30 2015 +0100 Resolves: tdf#90138 don't try to save a marks OtherPos if it doesn't have one Change-Id: I522a236015c91c0744b3018d3d4e4d6c65ea19ab diff --git a/sw/source/core/undo/undobj.cxx b/sw/source/core/undo/undobj.cxx index 5f781c3..92fd621 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 } } }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits