From da1f782cb2be82f605fe6b73420e40513f34ed1b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 12 Nov 2015 21:28:58 +0100 Subject: loplugin:passstuffbyref Change-Id: Ie8641fe51f1a8943402f0aab5f78c331b6deb3a0 --- framework/inc/uielement/toolbarmanager.hxx | 2 +- framework/source/uielement/toolbarmanager.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'framework') diff --git a/framework/inc/uielement/toolbarmanager.hxx b/framework/inc/uielement/toolbarmanager.hxx index 0870d7dc6b0c..65a5184c0b45 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 efc6a489456b..8c5bb68e03fa 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; -- cgit