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