diff options
Diffstat (limited to 'sd/source/ui/app/tmplctrl.cxx')
-rw-r--r-- | sd/source/ui/app/tmplctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/app/tmplctrl.cxx b/sd/source/ui/app/tmplctrl.cxx index fd9d27da3d1d..62d3ba6336a1 100644 --- a/sd/source/ui/app/tmplctrl.cxx +++ b/sd/source/ui/app/tmplctrl.cxx @@ -97,7 +97,7 @@ void SdTemplateControl::Paint( const UserDrawEvent& ) void SdTemplateControl::Command( const CommandEvent& rCEvt ) { - if ( !(rCEvt.GetCommand() == CommandEventId::ContextMenu && !GetStatusBar().GetItemText( GetId() ).isEmpty()) ) + if ( rCEvt.GetCommand() != CommandEventId::ContextMenu || GetStatusBar().GetItemText( GetId() ).isEmpty() ) return; SfxViewFrame* pViewFrame = SfxViewFrame::Current(); |