summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/LayerTabBar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/dlg/LayerTabBar.cxx')
-rw-r--r--sd/source/ui/dlg/LayerTabBar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/LayerTabBar.cxx b/sd/source/ui/dlg/LayerTabBar.cxx
index 934c5bbf89f9..500d78cbcfd0 100644
--- a/sd/source/ui/dlg/LayerTabBar.cxx
+++ b/sd/source/ui/dlg/LayerTabBar.cxx
@@ -151,7 +151,7 @@ sal_Int8 LayerTabBar::ExecuteDrop( const ExecuteDropEvent& rEvt )
void LayerTabBar::Command(const CommandEvent& rCEvt)
{
- if ( rCEvt.GetCommand() == COMMAND_CONTEXTMENU )
+ if ( rCEvt.GetCommand() == CommandEventId::ContextMenu )
{
SfxDispatcher* pDispatcher = pDrViewSh->GetViewFrame()->GetDispatcher();
pDispatcher->ExecutePopup(SdResId(RID_LAYERTAB_POPUP));