summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/SwUndoPageDesc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/SwUndoPageDesc.cxx')
-rw-r--r--sw/source/core/undo/SwUndoPageDesc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/undo/SwUndoPageDesc.cxx b/sw/source/core/undo/SwUndoPageDesc.cxx
index 258eb5e4ac03..1b847bd2a336 100644
--- a/sw/source/core/undo/SwUndoPageDesc.cxx
+++ b/sw/source/core/undo/SwUndoPageDesc.cxx
@@ -364,7 +364,7 @@ SwRewriter SwUndoPageDesc::GetRewriter() const
SwRewriter aResult;
aResult.AddRule(UndoArg1, aOld.GetName());
- aResult.AddRule(UndoArg2, SW_RESSTR(STR_YIELDS));
+ aResult.AddRule(UndoArg2, SwResId(STR_YIELDS));
aResult.AddRule(UndoArg3, aNew.GetName());
return aResult;