summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/sdruler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/sdruler.cxx')
-rw-r--r--sd/source/ui/view/sdruler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/sdruler.cxx b/sd/source/ui/view/sdruler.cxx
index 95d4c6ca52a6..8c3c9b78fba7 100644
--- a/sd/source/ui/view/sdruler.cxx
+++ b/sd/source/ui/view/sdruler.cxx
@@ -142,7 +142,7 @@ void Ruler::SetNullOffset(const Point& rOffset)
void Ruler::Command(const CommandEvent& rCEvt)
{
- if( rCEvt.GetCommand() == COMMAND_CONTEXTMENU &&
+ if( rCEvt.GetCommand() == CommandEventId::ContextMenu &&
!pDrViewShell->GetView()->IsTextEdit() )
{
SvxRuler::Command( rCEvt );