summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc/redlndlg.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/ui/misc/redlndlg.cxx
parent2560e6bc6df31e97de50f857b6fd2a30f3e68bae (diff)
refactor the Rewriter rules using enums
Diffstat (limited to 'sw/source/ui/misc/redlndlg.cxx')
-rw-r--r--sw/source/ui/misc/redlndlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/misc/redlndlg.cxx b/sw/source/ui/misc/redlndlg.cxx
index bd7c726e4fc8..cff5f3fda510 100644
--- a/sw/source/ui/misc/redlndlg.cxx
+++ b/sw/source/ui/misc/redlndlg.cxx
@@ -830,13 +830,13 @@ void SwRedlineAcceptDlg::CallAcceptReject( sal_Bool bSelect, sal_Bool bAccept )
String aTmpStr;
{
SwRewriter aRewriter;
- aRewriter.AddRule(UNDO_ARG1,
+ aRewriter.AddRule(UndoArg1,
String::CreateFromInt32(aRedlines.size()));
aTmpStr = aRewriter.Apply(String(SW_RES(STR_N_REDLINES)));
}
SwRewriter aRewriter;
- aRewriter.AddRule(UNDO_ARG1, aTmpStr);
+ aRewriter.AddRule(UndoArg1, aTmpStr);
pSh->StartUndo(bAccept? UNDO_ACCEPT_REDLINE : UNDO_REJECT_REDLINE,
&aRewriter);