diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-23 00:03:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-23 09:08:07 +0100 |
commit | f1251f68b178860c33521254c9dd4d9b35a96202 (patch) | |
tree | 8e3156e5a1e28eceb0c8ed2c4768e2b801797b1b /svtools/source/svhtml | |
parent | this method is debugging only (diff) | |
download | core-f1251f68b178860c33521254c9dd4d9b35a96202.tar.gz core-f1251f68b178860c33521254c9dd4d9b35a96202.zip |
remove parse ByteString variant
Diffstat (limited to 'svtools/source/svhtml')
-rw-r--r-- | svtools/source/svhtml/parhtml.cxx | 7 |
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"); |