diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-10-10 16:34:29 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-10-10 17:58:56 +0000 |
commit | 700883b34ebcdb77f398b4423f358bdf4648a853 (patch) | |
tree | e4f34c1e3689dc3c685f912a2bb937af18e23bf5 /svtools/source | |
parent | little String to OUString + documentation (diff) | |
download | core-700883b34ebcdb77f398b4423f358bdf4648a853.tar.gz core-700883b34ebcdb77f398b4423f358bdf4648a853.zip |
html: Options need to be lowercase, too
Because the lookup table (include/svtools/htmlkywd.hxx) is now lowercase.
Change-Id: Ica0606eb1546f74d2b651a70adee8117c956d4e2
Reviewed-on: https://gerrit.libreoffice.org/6193
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/svhtml/parhtml.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx index 474fd202b556..b7292594c523 100644 --- a/svtools/source/svhtml/parhtml.cxx +++ b/svtools/source/svhtml/parhtml.cxx @@ -1470,10 +1470,8 @@ const HTMLOptions& HTMLParser::GetOptions( sal_uInt16 *pNoConvertToken ) OUString sName( aToken.copy( nStt, nPos-nStt ) ); - // PlugIns require original token name. Convert to upper case only for searching. - OUString sNameUpperCase( sName.toAsciiUpperCase() ); - - nToken = GetHTMLOption( sNameUpperCase ); // Name is ready + // PlugIns require original token name. Convert to lower case only for searching. + nToken = GetHTMLOption( sName.toAsciiLowerCase() ); // Name is ready DBG_ASSERTWARNING( nToken!=HTML_O_UNKNOWN, "GetOption: unknown HTML option" ); bool bStripCRLF = (nToken < HTML_OPTION_SCRIPT_START || |