diff options
Diffstat (limited to 'svx/source/styles')
-rw-r--r-- | svx/source/styles/ColorSets.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/svx/source/styles/ColorSets.cxx b/svx/source/styles/ColorSets.cxx index 240b65e2b10a..0dde00e219c0 100644 --- a/svx/source/styles/ColorSets.cxx +++ b/svx/source/styles/ColorSets.cxx @@ -26,6 +26,7 @@ #include <svx/svdpage.hxx> #include <svx/svditer.hxx> #include <editeng/unoprnms.hxx> +#include <utility> using namespace com::sun::star; @@ -125,8 +126,8 @@ void UpdateSdrObject(svx::Theme* pTheme, SdrObject* pObject) namespace svx { -ColorSet::ColorSet(OUString const & aColorSetName) - : maColorSetName(aColorSetName) +ColorSet::ColorSet(OUString aColorSetName) + : maColorSetName(std::move(aColorSetName)) , maColors(12) {} @@ -233,8 +234,8 @@ const ColorSet& ColorSets::getColorSet(std::u16string_view rName) return maColorSets[0]; } -Theme::Theme(const OUString& rName) - : maName(rName) +Theme::Theme(OUString aName) + : maName(std::move(aName)) { } |