[Libreoffice-commits] core.git: include/svx svx/source

Stephan Bergmann sbergman at redhat.com
Thu Aug 27 00:07:05 PDT 2015


 include/svx/ColorSets.hxx       |    2 +-
 svx/source/styles/ColorSets.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3a87507cef458200380183f11b579ae9b30ecf2c
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Aug 27 09:06:30 2015 +0200

    loplugin:passstuffbyref
    
    Change-Id: I5ab147c8b737396db6371b9d92e7f19955ed7f28

diff --git a/include/svx/ColorSets.hxx b/include/svx/ColorSets.hxx
index 009ee40..b8c32ff 100644
--- a/include/svx/ColorSets.hxx
+++ b/include/svx/ColorSets.hxx
@@ -24,7 +24,7 @@ class SVX_DLLPUBLIC ColorSet
     OUString maName;
     std::vector<Color> maColors;
 public:
-    ColorSet(OUString aName);
+    ColorSet(OUString const & aName);
     ~ColorSet();
 
     void add(sal_uInt32 nIndex, sal_uInt32 aColorData)
diff --git a/svx/source/styles/ColorSets.cxx b/svx/source/styles/ColorSets.cxx
index 43ac4a7..819790a 100644
--- a/svx/source/styles/ColorSets.cxx
+++ b/svx/source/styles/ColorSets.cxx
@@ -13,7 +13,7 @@
 namespace svx
 {
 
-ColorSet::ColorSet(OUString aName)
+ColorSet::ColorSet(OUString const & aName)
     : maName(aName)
     , maColors(12)
 {}


More information about the Libreoffice-commits mailing list