summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/textsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/shells/textsh.cxx')
-rw-r--r--sw/source/uibase/shells/textsh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx
index 4647ca0edcd7..613a008ad967 100644
--- a/sw/source/uibase/shells/textsh.cxx
+++ b/sw/source/uibase/shells/textsh.cxx
@@ -515,7 +515,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
{
SwRewriter aRewriter;
- aRewriter.AddRule(UndoArg1, SW_RESSTR(STR_FRAME));
+ aRewriter.AddRule(UndoArg1, SwResId(STR_FRAME));
rShell.EndUndo(SwUndoId::INSERT, &aRewriter);
}
@@ -967,7 +967,7 @@ void SwTextShell::InsertSymbol( SfxRequest& rReq )
// Delete selected content.
SwRewriter aRewriter;
- aRewriter.AddRule(UndoArg1, SW_RESSTR(STR_SPECIALCHAR));
+ aRewriter.AddRule(UndoArg1, SwResId(STR_SPECIALCHAR));
rSh.StartUndo( SwUndoId::INSERT, &aRewriter );
if ( rSh.HasSelection() )