summaryrefslogtreecommitdiffstats
path: root/svtools/source/svhtml
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-23 00:03:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-23 09:08:07 +0100
commitf1251f68b178860c33521254c9dd4d9b35a96202 (patch)
tree8e3156e5a1e28eceb0c8ed2c4768e2b801797b1b /svtools/source/svhtml
parentthis method is debugging only (diff)
downloadcore-f1251f68b178860c33521254c9dd4d9b35a96202.tar.gz
core-f1251f68b178860c33521254c9dd4d9b35a96202.zip
remove parse ByteString variant
Diffstat (limited to 'svtools/source/svhtml')
-rw-r--r--svtools/source/svhtml/parhtml.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index 8cf6f406e2bd..b431d0d931c7 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -2266,11 +2266,10 @@ bool HTMLParser::ParseMetaOptions(
rtl_TextEncoding HTMLParser::GetEncodingByMIME( const String& rMime )
{
- ByteString sType;
- ByteString sSubType;
+ String sType;
+ String sSubType;
INetContentTypeParameterList aParameters;
- ByteString sMime( rMime, RTL_TEXTENCODING_ASCII_US );
- if (INetContentTypes::parse(sMime, sType, sSubType, &aParameters))
+ if (INetContentTypes::parse(rMime, sType, sSubType, &aParameters))
{
const INetContentTypeParameter * pCharset
= aParameters.find("charset");