summaryrefslogtreecommitdiff
path: root/sw/source/ui/dochdl
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/dochdl
parent2560e6bc6df31e97de50f857b6fd2a30f3e68bae (diff)
refactor the Rewriter rules using enums
Diffstat (limited to 'sw/source/ui/dochdl')
-rw-r--r--sw/source/ui/dochdl/swdtflvr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dochdl/swdtflvr.cxx b/sw/source/ui/dochdl/swdtflvr.cxx
index 15c5d33ed7dc..3da5f50a8373 100644
--- a/sw/source/ui/dochdl/swdtflvr.cxx
+++ b/sw/source/ui/dochdl/swdtflvr.cxx
@@ -3217,7 +3217,7 @@ int SwTransferable::PrivateDrop( SwWrtShell& rSh, const Point& rDragPt,
SwRewriter aRewriter;
- aRewriter.AddRule(UNDO_ARG1, rSrcSh.GetSelDescr());
+ aRewriter.AddRule(UndoArg1, rSrcSh.GetSelDescr());
if(rSrcSh.GetDoc() != rSh.GetDoc())
rSrcSh.StartUndo( eUndoId, &aRewriter );