diff options
Diffstat (limited to 'drawinglayer/source/attribute/fontattribute.cxx')
-rw-r--r-- | drawinglayer/source/attribute/fontattribute.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drawinglayer/source/attribute/fontattribute.cxx b/drawinglayer/source/attribute/fontattribute.cxx index 8ae3836d8aa7..c1f0ab000d86 100644 --- a/drawinglayer/source/attribute/fontattribute.cxx +++ b/drawinglayer/source/attribute/fontattribute.cxx @@ -19,6 +19,7 @@ #include <drawinglayer/attribute/fontattribute.hxx> #include <rtl/ustring.hxx> +#include <utility> namespace drawinglayer::attribute { @@ -38,11 +39,11 @@ public: bool mbBiDiStrong : 1; // BiDi Flag bool mbMonospaced : 1; - ImpFontAttribute(const OUString& rFamilyName, const OUString& rStyleName, sal_uInt16 nWeight, - bool bSymbol, bool bVertical, bool bItalic, bool bMonospaced, bool bOutline, - bool bRTL, bool bBiDiStrong) - : maFamilyName(rFamilyName) - , maStyleName(rStyleName) + ImpFontAttribute(OUString aFamilyName, OUString aStyleName, sal_uInt16 nWeight, bool bSymbol, + bool bVertical, bool bItalic, bool bMonospaced, bool bOutline, bool bRTL, + bool bBiDiStrong) + : maFamilyName(std::move(aFamilyName)) + , maStyleName(std::move(aStyleName)) , mnWeight(nWeight) , mbSymbol(bSymbol) , mbVertical(bVertical) |