diff --git a/xmloff/source/script/XMLEventExport.cxx b/xmloff/source/script/XMLEventExport.cxx index 839944a2676d..3d37095f0b5e 100644 --- a/xmloff/source/script/XMLEventExport.cxx +++ b/xmloff/source/script/XMLEventExport.cxx @@ -185,7 +185,7 @@ void XMLEventExport::ExportEvent( { // search for EventType value and then delegate to EventHandler const PropertyValue* pValue = std::find_if(rEventValues.begin(), rEventValues.end(), - [](const PropertyValue& rValue) { return u"EventType"_ustr == rValue.Name; }); + [](const PropertyValue& rValue) { return u"EventType" == rValue.Name; }); if (pValue == rEventValues.end()) return; diff --git a/xmloff/source/script/XMLScriptExportHandler.cxx b/xmloff/source/script/XMLScriptExportHandler.cxx index 6b5075d02112..b60a3f27be75 100644 --- a/xmloff/source/script/XMLScriptExportHandler.cxx +++ b/xmloff/source/script/XMLScriptExportHandler.cxx @@ -53,7 +53,7 @@ void XMLScriptExportHandler::Export( for(const auto& rValue : rValues) { - if (u"Script"_ustr == rValue.Name) + if (u"Script" == rValue.Name) { OUString sTmp; rValue.Value >>= sTmp; diff --git a/xmloff/source/style/prstylei.cxx b/xmloff/source/style/prstylei.cxx index 95a869653fd9..a10fbbaed299 100644 --- a/xmloff/source/style/prstylei.cxx +++ b/xmloff/source/style/prstylei.cxx @@ -627,16 +627,16 @@ void XMLPropStyleContext::translateNameBasedDrawingLayerFillStyleDefinitionsToSt const OUString& rPropName = rMapper->GetEntryAPIName(a.mnIndex); XmlStyleFamily aStyleFamily(XmlStyleFamily::DATA_STYLE); - if(rPropName == u"FillGradientName"_ustr - || rPropName == u"FillTransparenceGradientName"_ustr) + if(rPropName == u"FillGradientName" + || rPropName == u"FillTransparenceGradientName") { aStyleFamily = XmlStyleFamily::SD_GRADIENT_ID; } - else if(rPropName == u"FillHatchName"_ustr) + else if(rPropName == u"FillHatchName") { aStyleFamily = XmlStyleFamily::SD_HATCH_ID; } - else if(rPropName == u"FillBitmapName"_ustr) + else if(rPropName == u"FillBitmapName") { aStyleFamily = XmlStyleFamily::SD_FILL_IMAGE_ID; }