diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-12 21:28:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-12 21:28:58 +0100 |
commit | da1f782cb2be82f605fe6b73420e40513f34ed1b (patch) | |
tree | af212bb6726c9020a388c863969fcc5e0ceeed04 /framework | |
parent | addd884799b88213df813fd8501c3ab8306593e1 (diff) |
loplugin:passstuffbyref
Change-Id: Ie8641fe51f1a8943402f0aab5f78c331b6deb3a0
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/uielement/toolbarmanager.hxx | 2 | ||||
-rw-r--r-- | framework/source/uielement/toolbarmanager.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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; |