From e0c33ec15f53a01fa3ee07489871bbe09bb5c9c3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 6 Oct 2023 09:42:38 +0200 Subject: loplugin:ostr: automatic rewrite Change-Id: I2d09b2b83e1b50493ec88d0b2c323a83c0c86395 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157647 Reviewed-by: Stephan Bergmann Tested-by: Jenkins --- xmloff/source/draw/shapeexport.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff/source/draw/shapeexport.cxx') diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index 70c95e31c055..30b251cbda01 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -5004,10 +5004,10 @@ static void ImpExportEnhancedGeometry( SvXMLExport& rExport, const uno::Referenc // otherwise loext:writing-mode is used in style export. if (!(rExport.getSaneDefaultVersion() & SvtSaveOptions::ODFSVER_EXTENDED)) { - if (xPropSetInfo->hasPropertyByName(u"WritingMode")) + if (xPropSetInfo->hasPropertyByName(u"WritingMode"_ustr)) { sal_Int16 nDirection = -1; - xPropSet->getPropertyValue(u"WritingMode") >>= nDirection; + xPropSet->getPropertyValue(u"WritingMode"_ustr) >>= nDirection; if (nDirection == text::WritingMode2::TB_RL90) fTextRotateAngle -= 90; else if (nDirection == text::WritingMode2::BT_LR) -- cgit