sw/source/core/undo/untblk.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit fb3ddd41bc9dd2fbdd856c13bdec61906d01fd02
Author: Zheng Fan <zheng...@apache.org>
Date:   Fri May 17 03:36:26 2013 +0000

    i121897, change the hints clearing method from RstAttr to clearSwpHhints.

diff --git a/sw/source/core/undo/untblk.cxx b/sw/source/core/undo/untblk.cxx
index 40413c2..8dfd472 100644
--- a/sw/source/core/undo/untblk.cxx
+++ b/sw/source/core/undo/untblk.cxx
@@ -248,8 +248,9 @@ void SwUndoInserts::UndoImpl(::sw::UndoRedoContext & 
rContext)
                 pTxtNode->JoinNext();
             }
             // reset all text attributes in the paragraph!
-            pTxtNode->RstAttr( SwIndex(pTxtNode, 0), pTxtNode->Len(),
-                                0, 0, true );
+    //i121897, change the hints clearing method from 'RstAttr' to 
'ClarSwpHints' as the certain tox mark index hint reason
+            if( pTxtNode && pTxtNode->GetpSwpHints() )
+                pTxtNode->ClearSwpHintsArr( true );
 
             // setze alle Attribute im Node zurueck
             pTxtNode->ResetAllAttr();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to