summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-16 13:44:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-16 13:44:43 +0200
commitc3becbd21f17fe7a90e724aa9b170a57d52320bb (patch)
tree3637df7cba3d6c8a9f8af43936272dd47ff526d1 /cui
parentef1dc167cd3339b1e92d8e18b1f5c3c2cfbec6ab (diff)
loplugin:passstuffbyref
Change-Id: I3388ca4e484a567ed6f00d7ed177a1e45c8af706
Diffstat (limited to 'cui')
-rw-r--r--cui/source/inc/cuitabarea.hxx2
-rw-r--r--cui/source/tabpages/tpcolor.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx
index f709766db4f3..9e1da38a8e96 100644
--- a/cui/source/inc/cuitabarea.hxx
+++ b/cui/source/inc/cuitabarea.hxx
@@ -742,7 +742,7 @@ private:
void SetColorModel(ColorModel eModel);
void ChangeColorModel();
void UpdateColorValues();
- sal_Int32 SearchColorList(OUString aColorName);
+ sal_Int32 SearchColorList(OUString const & aColorName);
DECL_LINK_TYPED( ModifiedHdl_Impl, Edit&, void );
long CheckChanges_Impl();
diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx
index fd51e1573b37..a66c27c271fc 100644
--- a/cui/source/tabpages/tpcolor.cxx
+++ b/cui/source/tabpages/tpcolor.cxx
@@ -1038,7 +1038,7 @@ void SvxColorTabPage::UpdateColorValues()
}
}
-sal_Int32 SvxColorTabPage::SearchColorList(OUString aColorName)
+sal_Int32 SvxColorTabPage::SearchColorList(OUString const & aColorName)
{
long nCount = pColorList->Count();
bool bValidColorName = true;