[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Fri Apr 3 07:40:13 PDT 2015


 sw/source/core/undo/undobj.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4fe5b44b15647542b1550deaeee43ec3d1e57591
Author: Caolán McNamara <caolanm at 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
                         }
                     }
                 }


More information about the Libreoffice-commits mailing list