diff options
Diffstat (limited to 'sw/source/ui/lingu/hhcwrp.cxx')
-rw-r--r-- | sw/source/ui/lingu/hhcwrp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/lingu/hhcwrp.cxx b/sw/source/ui/lingu/hhcwrp.cxx index be8b649e5494..be4b349005b4 100644 --- a/sw/source/ui/lingu/hhcwrp.cxx +++ b/sw/source/ui/lingu/hhcwrp.cxx @@ -400,7 +400,7 @@ void SwHHCWrapper::ChangeText_impl( const String &rNewText, sal_Bool bKeepAttrib // was deleted) rWrtShell.ResetAttr(); // apply previously saved attributes to new text - rWrtShell.SetAttr( aItemSet ); + rWrtShell.SetAttrSet( aItemSet ); } else { @@ -512,7 +512,7 @@ void SwHHCWrapper::ReplaceUnit( SwPaM *pPaM = rWrtShell.GetCrsr(); (void)pPaM; #endif - rWrtShell.SetAttr(*pRuby); + rWrtShell.SetAttrItem(*pRuby); delete pRuby; rWrtShell.EndUndo( UNDO_SETRUBYATTR ); } @@ -564,7 +564,7 @@ void SwHHCWrapper::ReplaceUnit( aSet.Put( aFontItem ); } - rWrtShell.SetAttr( aSet ); + rWrtShell.SetAttrSet( aSet ); rWrtShell.ClearMark(); } |