[Libreoffice-commits] core.git: cui/source

Stephan Bergmann sbergman at redhat.com
Thu Jun 16 11:45:11 UTC 2016


 cui/source/inc/cuitabarea.hxx   |    2 +-
 cui/source/tabpages/tpcolor.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c3becbd21f17fe7a90e724aa9b170a57d52320bb
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jun 16 13:44:43 2016 +0200

    loplugin:passstuffbyref
    
    Change-Id: I3388ca4e484a567ed6f00d7ed177a1e45c8af706

diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx
index f709766..9e1da38 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 fd51e15..a66c27c 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;


More information about the Libreoffice-commits mailing list