summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unobkm.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-02 09:34:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-02 14:53:49 +0100
commitcf98d30de84e8ca8b45a83ac2319a09f9e70a2f7 (patch)
tree373172bfb55fba3e7c3695479b0649b13c5f7a3d /sw/source/core/unocore/unobkm.cxx
parent2560e6bc6df31e97de50f857b6fd2a30f3e68bae (diff)
refactor the Rewriter rules using enums
Diffstat (limited to 'sw/source/core/unocore/unobkm.cxx')
-rw-r--r--sw/source/core/unocore/unobkm.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/unocore/unobkm.cxx b/sw/source/core/unocore/unobkm.cxx
index 9b335687ceba..f54775e48d83 100644
--- a/sw/source/core/unocore/unobkm.cxx
+++ b/sw/source/core/unocore/unobkm.cxx
@@ -378,9 +378,9 @@ throw (uno::RuntimeException)
}
SwRewriter aRewriter;
- aRewriter.AddRule(UNDO_ARG1, lcl_QuoteName(getName()));
- aRewriter.AddRule(UNDO_ARG2, SW_RES(STR_YIELDS));
- aRewriter.AddRule(UNDO_ARG3, lcl_QuoteName(rName));
+ aRewriter.AddRule(UndoArg1, lcl_QuoteName(getName()));
+ aRewriter.AddRule(UndoArg2, SW_RES(STR_YIELDS));
+ aRewriter.AddRule(UndoArg3, lcl_QuoteName(rName));
m_pImpl->m_pDoc->GetIDocumentUndoRedo().StartUndo(
UNDO_BOOKMARK_RENAME, &aRewriter);