framework/source/uielement/menubarmanager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 654fa8aaed2f959103e3402e2036e9b1e0d734fc
Author: Stephan Bergmann <sberg...@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() )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to