diff options
author | Zheng Fan <zhengfan@apache.org> | 2013-05-17 03:36:26 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-05 20:32:20 +0100 |
commit | b78adb500a21161e122603c25047a82db3997dfc (patch) | |
tree | 0a59f8cc931296b2d74811022222eae5190bdd52 /sw | |
parent | baf8f02b009e62f44959be26ee33daeb032fae0d (diff) |
Resolves: #i121897# change the hints clearing method from RstAttr...
to clearSwpHhints
(cherry picked from commit fb3ddd41bc9dd2fbdd856c13bdec61906d01fd02)
Change-Id: Ie712130d01311b84d4f7c61aa7bba960ef608d46
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/undo/untblk.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/core/undo/untblk.cxx b/sw/source/core/undo/untblk.cxx index 3667f7b25dba..5c7c60af846b 100644 --- a/sw/source/core/undo/untblk.cxx +++ b/sw/source/core/undo/untblk.cxx @@ -228,8 +228,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 ); pTxtNode->ResetAllAttr(); |