summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/templdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/templdlg.cxx')
-rw-r--r--sfx2/source/dialog/templdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index a0f048be99db..0e3f8e54a92b 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -327,7 +327,7 @@ void SfxActionListBox::Recalc()
VclPtr<PopupMenu> SfxActionListBox::CreateContextMenu()
{
- if( !( GetSelectionCount() > 0 ) )
+ if( GetSelectionCount() <= 0 )
{
pDialog->EnableEdit( false );
pDialog->EnableDel( false );