diff options
Diffstat (limited to 'framework/source/uielement/imagebuttontoolbarcontroller.cxx')
-rw-r--r-- | framework/source/uielement/imagebuttontoolbarcontroller.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/imagebuttontoolbarcontroller.cxx b/framework/source/uielement/imagebuttontoolbarcontroller.cxx index c14606db0000..19107d374019 100644 --- a/framework/source/uielement/imagebuttontoolbarcontroller.cxx +++ b/framework/source/uielement/imagebuttontoolbarcontroller.cxx @@ -83,8 +83,8 @@ void ImageButtonToolbarController::executeControlCommand( const css::frame::Cont { SolarMutexGuard aSolarMutexGuard; // i73486 to be downward compatible use old and "wrong" also! - if( !(rControlCommand.Command == "SetImag" || - rControlCommand.Command == "SetImage") ) + if( rControlCommand.Command != "SetImag" && + rControlCommand.Command != "SetImage" ) return; for ( const NamedValue& rArg : rControlCommand.Arguments ) |