You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by zh...@apache.org on 2013/05/17 05:36:26 UTC

svn commit: r1483640 - /openoffice/trunk/main/sw/source/core/undo/untblk.cxx

Author: zhengfan
Date: Fri May 17 03:36:26 2013
New Revision: 1483640

URL: http://svn.apache.org/r1483640
Log:
i121897, change the hints clearing method from RstAttr to clearSwpHhints.

Modified:
    openoffice/trunk/main/sw/source/core/undo/untblk.cxx

Modified: openoffice/trunk/main/sw/source/core/undo/untblk.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/core/undo/untblk.cxx?rev=1483640&r1=1483639&r2=1483640&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/core/undo/untblk.cxx (original)
+++ openoffice/trunk/main/sw/source/core/undo/untblk.cxx Fri May 17 03:36:26 2013
@@ -248,8 +248,9 @@ void SwUndoInserts::UndoImpl(::sw::UndoR
 				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();