summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-15 15:23:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-15 15:23:30 +0200
commita8ba4a14627dc3ab7439679a974640fdffcf633e (patch)
tree4c931f3d775901a8451b7b86ce90c19f0a826d26 /forms
parente9793bb9792dadfd6c0503bbac260c512451cf06 (diff)
loplugin:passstuffbyref
Change-Id: Ic2625b08a57b0f8c1e93b861a8a8add12f02229d
Diffstat (limited to 'forms')
-rw-r--r--forms/source/solar/control/navtoolbar.cxx2
-rw-r--r--forms/source/solar/inc/navtoolbar.hxx2
2 files changed, 2 insertions, 2 deletions
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;