Kaydet (Commit) fb3ddd41 authored tarafından Zheng Fan's avatar Zheng Fan

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

üst 4b07fb34
...@@ -248,8 +248,9 @@ void SwUndoInserts::UndoImpl(::sw::UndoRedoContext & rContext) ...@@ -248,8 +248,9 @@ void SwUndoInserts::UndoImpl(::sw::UndoRedoContext & rContext)
pTxtNode->JoinNext(); pTxtNode->JoinNext();
} }
// reset all text attributes in the paragraph! // reset all text attributes in the paragraph!
pTxtNode->RstAttr( SwIndex(pTxtNode, 0), pTxtNode->Len(), //i121897, change the hints clearing method from 'RstAttr' to 'ClarSwpHints' as the certain tox mark index hint reason
0, 0, true ); if( pTxtNode && pTxtNode->GetpSwpHints() )
pTxtNode->ClearSwpHintsArr( true );
// setze alle Attribute im Node zurueck // setze alle Attribute im Node zurueck
pTxtNode->ResetAllAttr(); pTxtNode->ResetAllAttr();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment