[Libreoffice-commits] core.git: framework/source
Stephan Bergmann
sbergman at redhat.com
Mon Apr 11 11:43:50 UTC 2016
framework/source/uielement/menubarmanager.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 654fa8aaed2f959103e3402e2036e9b1e0d734fc
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Apr 11 13:43:16 2016 +0200
loplugin:stringconstant
Change-Id: I4776cca99c362998a979507880dce1eccf8e5e04
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx
index 0e32ae1..3c74936 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() )
More information about the Libreoffice-commits
mailing list