[Libreoffice-commits] core.git: framework/inc framework/source
Stephan Bergmann
sbergman at redhat.com
Thu Nov 12 12:29:43 PST 2015
framework/inc/uielement/toolbarmanager.hxx | 2 +-
framework/source/uielement/toolbarmanager.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit da1f782cb2be82f605fe6b73420e40513f34ed1b
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Nov 12 21:28:58 2015 +0100
loplugin:passstuffbyref
Change-Id: Ie8641fe51f1a8943402f0aab5f78c331b6deb3a0
diff --git a/framework/inc/uielement/toolbarmanager.hxx b/framework/inc/uielement/toolbarmanager.hxx
index 0870d7d..65a5184 100644
--- a/framework/inc/uielement/toolbarmanager.hxx
+++ b/framework/inc/uielement/toolbarmanager.hxx
@@ -144,7 +144,7 @@ class ToolBarManager : public ToolbarManager_Base
virtual bool MenuItemAllowed( sal_uInt16 ) const;
void RemoveControllers();
- OUString RetrieveFromCommand( const OUString aName, const OUString& aCmdURL );
+ OUString RetrieveFromCommand( const OUString & aName, const OUString& aCmdURL );
sal_Int32 RetrievePropertiesFromCommand( const OUString& aCmdURL );
css::uno::Sequence< css::beans::PropertyValue > GetPropsForCommand( const OUString& rCmdURL );
void CreateControllers();
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx
index efc6a48..8c5bb68 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -809,7 +809,7 @@ uno::Sequence< beans::PropertyValue > ToolBarManager::GetPropsForCommand( const
return aPropSeq;
}
-OUString ToolBarManager::RetrieveFromCommand( const OUString aName, const OUString& aCmdURL )
+OUString ToolBarManager::RetrieveFromCommand( const OUString & aName, const OUString& aCmdURL )
{
OUString aLabel;
Sequence< PropertyValue > aPropSeq;
More information about the Libreoffice-commits
mailing list