summaryrefslogtreecommitdiff
path: root/framework/source/uielement/macrosmenucontroller.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-21 18:22:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-21 18:24:07 +0100
commit1115adbb5dc2dc05354f2a24a27cb37e522c92b4 (patch)
tree54e7313f8744c629bc9379739d48d36844d168ff /framework/source/uielement/macrosmenucontroller.cxx
parentce6b20442a8f848848e7bffb42346cc9925ad4c8 (diff)
bool improvements
Change-Id: I1588e6dcbc095d8c5fcde3601eea9111fbae15fb
Diffstat (limited to 'framework/source/uielement/macrosmenucontroller.cxx')
-rw-r--r--framework/source/uielement/macrosmenucontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/macrosmenucontroller.cxx b/framework/source/uielement/macrosmenucontroller.cxx
index 18c5460c3b65..99b3f570d9d6 100644
--- a/framework/source/uielement/macrosmenucontroller.cxx
+++ b/framework/source/uielement/macrosmenucontroller.cxx
@@ -176,7 +176,7 @@ void MacrosMenuController::addScriptItems( PopupMenu* pPopupMenu, sal_uInt16 sta
while ( xEnum->hasMoreElements() )
{
Reference< XServiceInfo > xServiceInfo;
- if ( sal_False == ( xEnum->nextElement() >>= xServiceInfo ) )
+ if ( !( xEnum->nextElement() >>= xServiceInfo ) )
{
break;
}