summaryrefslogtreecommitdiff
path: root/svtools/source/svhtml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-11-19 14:43:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2023-11-19 18:27:05 +0100
commit6ccd536aae8b5fb5ec01796a1d48d8c5e0b21582 (patch)
treecff1cbeae4b56b9c1f0e08a4d40ecaa671afcf64 /svtools/source/svhtml
parent23641bffb78fed4db99a0a906b6d80335340c9a3 (diff)
Extended loplugin:ostr: svtools
Change-Id: I4aa6ab1c132a5666b0ee4a4e9f68aaca58a38ceb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159672 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svtools/source/svhtml')
-rw-r--r--svtools/source/svhtml/parhtml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index d94a24632779..1f8745674469 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -2165,7 +2165,7 @@ rtl_TextEncoding HTMLParser::GetEncodingByMIME( const OUString& rMime )
INetContentTypeParameterList aParameters;
if (INetContentTypes::parse(rMime, sType, sSubType, &aParameters))
{
- auto const iter = aParameters.find("charset");
+ auto const iter = aParameters.find("charset"_ostr);
if (iter != aParameters.end())
{
const INetContentTypeParameter * pCharset = &iter->second;