diff options
Diffstat (limited to 'xmloff/source/draw/xexptran.cxx')
-rw-r--r-- | xmloff/source/draw/xexptran.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/xmloff/source/draw/xexptran.cxx b/xmloff/source/draw/xexptran.cxx index 3665533eeff7..c3ea5a4b0f70 100644 --- a/xmloff/source/draw/xexptran.cxx +++ b/xmloff/source/draw/xexptran.cxx @@ -355,12 +355,12 @@ void SdXMLImExTransform2D::SetString(const OUString& rNew, const SvXMLUnitConver const OUString aStr = msString; const sal_Int32 nLen(aStr.getLength()); - static const OUStringLiteral aString_rotate( u"rotate" ); - static const OUStringLiteral aString_scale( u"scale" ); - static const OUStringLiteral aString_translate( u"translate" ); - static const OUStringLiteral aString_skewX( u"skewX" ); - static const OUStringLiteral aString_skewY( u"skewY" ); - static const OUStringLiteral aString_matrix( u"matrix" ); + static constexpr OUStringLiteral aString_rotate( u"rotate" ); + static constexpr OUStringLiteral aString_scale( u"scale" ); + static constexpr OUStringLiteral aString_translate( u"translate" ); + static constexpr OUStringLiteral aString_skewX( u"skewX" ); + static constexpr OUStringLiteral aString_skewY( u"skewY" ); + static constexpr OUStringLiteral aString_matrix( u"matrix" ); sal_Int32 nPos(0); @@ -762,12 +762,12 @@ void SdXMLImExTransform3D::SetString(const OUString& rNew, const SvXMLUnitConver const OUString aStr = msString; const sal_Int32 nLen(aStr.getLength()); - static const OUStringLiteral aString_rotatex( u"rotatex" ); - static const OUStringLiteral aString_rotatey( u"rotatey" ); - static const OUStringLiteral aString_rotatez( u"rotatez" ); - static const OUStringLiteral aString_scale( u"scale" ); - static const OUStringLiteral aString_translate( u"translate" ); - static const OUStringLiteral aString_matrix( u"matrix" ); + static constexpr OUStringLiteral aString_rotatex( u"rotatex" ); + static constexpr OUStringLiteral aString_rotatey( u"rotatey" ); + static constexpr OUStringLiteral aString_rotatez( u"rotatez" ); + static constexpr OUStringLiteral aString_scale( u"scale" ); + static constexpr OUStringLiteral aString_translate( u"translate" ); + static constexpr OUStringLiteral aString_matrix( u"matrix" ); sal_Int32 nPos(0); |