filter/source/config/cache/filtercache.cxx |    8 ++++----
 filter/source/msfilter/rtfutil.cxx         |    4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 966bf32c4f160b25506a14c772125e5ff50314c0
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Wed Nov 29 18:02:34 2023 +0100
Commit:     Stephan Bergmann <stephan.bergm...@allotropia.de>
CommitDate: Wed Nov 29 22:08:20 2023 +0100

    Extended loplugin:ostr: filter
    
    Change-Id: I900c7e070f9830b3da1dbcce75d418a75652d1ef
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160121
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de>

diff --git a/filter/source/config/cache/filtercache.cxx 
b/filter/source/config/cache/filtercache.cxx
index 186eadd1a317..8a6f88703823 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -768,7 +768,7 @@ css::uno::Reference< css::uno::XInterface > 
FilterCache::impl_openConfig(std::un
                 return m_xConfigTypes;
             sPath           = CFGPACKAGE_TD_TYPES;
             pConfig         = &m_xConfigTypes;
-            sRtlLog         = "impl_openconfig(E_PROVIDER_TYPES)";
+            sRtlLog         = "impl_openconfig(E_PROVIDER_TYPES)"_ostr;
         }
         break;
 
@@ -778,7 +778,7 @@ css::uno::Reference< css::uno::XInterface > 
FilterCache::impl_openConfig(std::un
                 return m_xConfigFilters;
             sPath           = CFGPACKAGE_TD_FILTERS;
             pConfig         = &m_xConfigFilters;
-            sRtlLog         = "impl_openconfig(E_PROVIDER_FILTERS)";
+            sRtlLog         = "impl_openconfig(E_PROVIDER_FILTERS)"_ostr;
         }
         break;
 
@@ -788,7 +788,7 @@ css::uno::Reference< css::uno::XInterface > 
FilterCache::impl_openConfig(std::un
                 return m_xConfigOthers;
             sPath   = CFGPACKAGE_TD_OTHERS;
             pConfig = &m_xConfigOthers;
-            sRtlLog = "impl_openconfig(E_PROVIDER_OTHERS)";
+            sRtlLog = "impl_openconfig(E_PROVIDER_OTHERS)"_ostr;
         }
         break;
 
@@ -798,7 +798,7 @@ css::uno::Reference< css::uno::XInterface > 
FilterCache::impl_openConfig(std::un
             // the old configuration format only. It's not cached!
             sPath   = CFGPACKAGE_TD_OLD;
             pConfig = &xOld;
-            sRtlLog = "impl_openconfig(E_PROVIDER_OLD)";
+            sRtlLog = "impl_openconfig(E_PROVIDER_OLD)"_ostr;
         }
         break;
 
diff --git a/filter/source/msfilter/rtfutil.cxx 
b/filter/source/msfilter/rtfutil.cxx
index 53f4caea7b98..108b52daf0c0 100644
--- a/filter/source/msfilter/rtfutil.cxx
+++ b/filter/source/msfilter/rtfutil.cxx
@@ -31,7 +31,7 @@ void WrapOle1InOle2(SvStream& rOle1, sal_uInt32 nOle1Size, 
SvStream& rOle2,
     SvGlobalName aName;
     if (rClassName == "PBrush")
     {
-        aAnsiUserType = "Bitmap Image";
+        aAnsiUserType = "Bitmap Image"_ostr;
         aName = SvGlobalName(0x0003000A, 0, 0, 0xc0, 0, 0, 0, 0, 0, 0, 0x46);
     }
     else
@@ -40,7 +40,7 @@ void WrapOle1InOle2(SvStream& rOle1, sal_uInt32 nOle1Size, 
SvStream& rOle2,
         {
             SAL_WARN("filter.ms", "WrapOle1InOle2: unexpected class name: '" 
<< rClassName << "'");
         }
-        aAnsiUserType = "OLE Package";
+        aAnsiUserType = "OLE Package"_ostr;
         aName = SvGlobalName(0x0003000C, 0, 0, 0xc0, 0, 0, 0, 0, 0, 0, 0x46);
     }
     pStorage->SetClass(aName, SotClipboardFormatId::NONE, "");

Reply via email to