xmloff/source/script/XMLEventExport.cxx         |    2 +-
 xmloff/source/script/XMLScriptExportHandler.cxx |    2 +-
 xmloff/source/style/prstylei.cxx                |    8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit f16d04c95f6952c811b67c3891c27bd01a4824df
Author:     Arnaud VERSINI <arnaud.vers...@libreoffice.org>
AuthorDate: Sun Mar 24 17:18:36 2024 +0100
Commit:     Arnaud Versini <arnaud.vers...@pm.me>
CommitDate: Mon Mar 25 17:30:27 2024 +0100

    xmloff : no need to use OUString literal for comparison
    
    Change-Id: I2b8f75ec56d93003d8c9c14b3cad1e3978cc6a39
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165227
    Tested-by: Jenkins
    Reviewed-by: Arnaud Versini <arnaud.vers...@pm.me>

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;
             }

Reply via email to