diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-27 09:06:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-27 09:06:45 +0200 |
commit | 3a87507cef458200380183f11b579ae9b30ecf2c (patch) | |
tree | 0d69eec5c4af2a1fef6771bf5673effa91ef5beb | |
parent | b2c69e66ed6979e1bdd18577295062c25d3dabd0 (diff) |
loplugin:passstuffbyref
Change-Id: I5ab147c8b737396db6371b9d92e7f19955ed7f28
-rw-r--r-- | include/svx/ColorSets.hxx | 2 | ||||
-rw-r--r-- | svx/source/styles/ColorSets.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/ColorSets.hxx b/include/svx/ColorSets.hxx index 009ee4017af4..b8c32ff1350b 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 43ac4a73dcb4..819790a5cf22 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) {} |