summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/docundo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/docundo.cxx')
-rw-r--r--sw/source/core/undo/docundo.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/undo/docundo.cxx b/sw/source/core/undo/docundo.cxx
index a9f107cb1170..63cff9f61230 100644
--- a/sw/source/core/undo/docundo.cxx
+++ b/sw/source/core/undo/docundo.cxx
@@ -276,7 +276,7 @@ UndoManager::StartUndo(SwUndoId const i_eUndoId,
assert(SwUndoId::END != eUndoId);
OUString comment( (SwUndoId::START == eUndoId)
? OUString("??")
- : OUString(SW_RES(UNDO_BASE + (int)eUndoId)) );
+ : SwResId(UNDO_BASE + (int)eUndoId) );
if (pRewriter)
{
assert(SwUndoId::START != eUndoId);
@@ -324,7 +324,7 @@ UndoManager::EndUndo(SwUndoId eUndoId, SwRewriter const*const pRewriter)
OSL_ENSURE((SwUndoId)pListAction->GetId() == eUndoId,
"EndUndo(): given ID different from StartUndo()");
// comment set by caller of EndUndo
- OUString comment = SW_RES(UNDO_BASE + (int)eUndoId);
+ OUString comment = SwResId(UNDO_BASE + (int)eUndoId);
if (pRewriter)
{
comment = pRewriter->Apply(comment);