diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-21 18:22:24 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-21 18:24:07 +0100 |
commit | 1115adbb5dc2dc05354f2a24a27cb37e522c92b4 (patch) | |
tree | 54e7313f8744c629bc9379739d48d36844d168ff /framework/source/uielement/macrosmenucontroller.cxx | |
parent | ce6b20442a8f848848e7bffb42346cc9925ad4c8 (diff) |
bool improvements
Change-Id: I1588e6dcbc095d8c5fcde3601eea9111fbae15fb
Diffstat (limited to 'framework/source/uielement/macrosmenucontroller.cxx')
-rw-r--r-- | framework/source/uielement/macrosmenucontroller.cxx | 2 |
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; } |