diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-11 13:43:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-11 13:43:16 +0200 |
commit | 654fa8aaed2f959103e3402e2036e9b1e0d734fc (patch) | |
tree | 8aab5a76f7c5bea9984c338e4c57ec4c29fedc32 | |
parent | daf209b64d36ee5261ee18e91548d02ce374fbe3 (diff) |
loplugin:stringconstant
Change-Id: I4776cca99c362998a979507880dce1eccf8e5e04
-rw-r--r-- | framework/source/uielement/menubarmanager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index 0e32ae1d0093..3c7493619477 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -861,7 +861,7 @@ IMPL_LINK_TYPED( MenuBarManager, Activate, Menu *, pMenu, bool ) if ( !pMenuItemHandler->xPopupMenuController.is() && m_xPopupMenuControllerFactory->hasController( pMenuItemHandler->aMenuItemURL, m_aModuleIdentifier ) ) { - if( xMenuItemDispatch.is() || !pMenuItemHandler->aMenuItemURL.equalsAscii( ".uno:RecentFileList") ) + if( xMenuItemDispatch.is() || pMenuItemHandler->aMenuItemURL != ".uno:RecentFileList" ) bPopupMenu = CreatePopupMenuController( pMenuItemHandler ); } else if ( pMenuItemHandler->xPopupMenuController.is() ) |