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();