diff options
author | Noel Grandin <noel@peralex.com> | 2013-08-12 17:19:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-08-15 09:11:33 +0200 |
commit | 33eeb70011b34a3b04a74b2237d1d6fdde030c35 (patch) | |
tree | 02185ff85c69ea96bd8ba744facbb8974c4415a6 /sfx2/source/bastyp/sfxhtml.cxx | |
parent | 78b2f4be915b7dd9bfabe34162163b362f0a2141 (diff) |
convert include/svtools/svparser.hxx from String to OUString
Change-Id: I4d6196a9a96ad1dd236f8622a523b4702e92d76f
Diffstat (limited to 'sfx2/source/bastyp/sfxhtml.cxx')
-rw-r--r-- | sfx2/source/bastyp/sfxhtml.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/bastyp/sfxhtml.cxx b/sfx2/source/bastyp/sfxhtml.cxx index 76cb25aaca1e..74079d9cf243 100644 --- a/sfx2/source/bastyp/sfxhtml.cxx +++ b/sfx2/source/bastyp/sfxhtml.cxx @@ -274,10 +274,10 @@ void SfxHTMLParser::GetScriptType_Impl( SvKeyValueIterator *pHTTPHeader ) for( sal_Bool bCont = pHTTPHeader->GetFirst( aKV ); bCont; bCont = pHTTPHeader->GetNext( aKV ) ) { - if( aKV.GetKey().EqualsIgnoreCaseAscii( + if( aKV.GetKey().equalsIgnoreAsciiCase( OOO_STRING_SVTOOLS_HTML_META_content_script_type ) ) { - if( aKV.GetValue().Len() ) + if( !aKV.GetValue().isEmpty() ) { String aTmp( aKV.GetValue() ); if( aTmp.EqualsIgnoreCaseAscii( sHTML_MIME_text, 0, 5 ) ) |