From a8ba4a14627dc3ab7439679a974640fdffcf633e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 15 Apr 2016 15:23:30 +0200 Subject: loplugin:passstuffbyref Change-Id: Ic2625b08a57b0f8c1e93b861a8a8add12f02229d --- forms/source/solar/control/navtoolbar.cxx | 2 +- forms/source/solar/inc/navtoolbar.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'forms/source/solar') diff --git a/forms/source/solar/control/navtoolbar.cxx b/forms/source/solar/control/navtoolbar.cxx index 6fda36fed5ee..5a72b20059f1 100644 --- a/forms/source/solar/control/navtoolbar.cxx +++ b/forms/source/solar/control/navtoolbar.cxx @@ -133,7 +133,7 @@ namespace frm NavigationToolBar::NavigationToolBar( vcl::Window* _pParent, WinBits _nStyle, const PCommandImageProvider& _pImageProvider, - const OUString sModuleId ) + const OUString & sModuleId ) :Window( _pParent, _nStyle ) ,m_pDispatcher( nullptr ) ,m_pImageProvider( _pImageProvider ) diff --git a/forms/source/solar/inc/navtoolbar.hxx b/forms/source/solar/inc/navtoolbar.hxx index 9112fac4e927..74f1505e1e1d 100644 --- a/forms/source/solar/inc/navtoolbar.hxx +++ b/forms/source/solar/inc/navtoolbar.hxx @@ -67,7 +67,7 @@ namespace frm vcl::Window* _pParent, WinBits _nStyle, const std::shared_ptr< const ICommandImageProvider >& _pImageProvider, - const OUString sModuleId + const OUString & sModuleId ); virtual ~NavigationToolBar( ); virtual void dispose() override; -- cgit