diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-11-19 14:43:07 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-11-19 18:27:05 +0100 |
commit | 6ccd536aae8b5fb5ec01796a1d48d8c5e0b21582 (patch) | |
tree | cff1cbeae4b56b9c1f0e08a4d40ecaa671afcf64 /svtools/source/svhtml | |
parent | 23641bffb78fed4db99a0a906b6d80335340c9a3 (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.cxx | 2 |
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; |