summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--filter/source/config/cache/filtercache.cxx8
-rw-r--r--filter/source/msfilter/rtfutil.cxx4
2 files changed, 6 insertions, 6 deletions
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, "");