sw/source/core/undo/undobj.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit bdbb20758c210a4ac3732dc7d7d0e6e8aa048615 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 (cherry picked from commit 4fe5b44b15647542b1550deaeee43ec3d1e57591) Reviewed-on: https://gerrit.libreoffice.org/15140 Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> diff --git a/sw/source/core/undo/undobj.cxx b/sw/source/core/undo/undobj.cxx index 45443d1..91cdbdb 100644 --- a/sw/source/core/undo/undobj.cxx +++ b/sw/source/core/undo/undobj.cxx @@ -760,7 +760,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