diff options
Diffstat (limited to 'sw/source/uibase/utlui/tmplctrl.cxx')
-rw-r--r-- | sw/source/uibase/utlui/tmplctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/tmplctrl.cxx b/sw/source/uibase/utlui/tmplctrl.cxx index 7c7f960e11d5..d226e20310f2 100644 --- a/sw/source/uibase/utlui/tmplctrl.cxx +++ b/sw/source/uibase/utlui/tmplctrl.cxx @@ -90,7 +90,7 @@ void SwTemplateControl::Paint( const UserDrawEvent& ) void SwTemplateControl::Command( const CommandEvent& rCEvt ) { - if ( rCEvt.GetCommand() == COMMAND_CONTEXTMENU && + if ( rCEvt.GetCommand() == CommandEventId::ContextMenu && !GetStatusBar().GetItemText( GetId() ).isEmpty() ) { SwTemplatePopup_Impl aPop; |