fdo#74584: Revert "html: Options need to be lowercase, too"

This reverts commit 700883b34e.

...since 73e3aafa99 was reverted and
sw_htmlexport test fails.

Change-Id: Ia83705279e792a0c2375619b6a209e46a319fea7
This commit is contained in:
Michael Stahl
2014-02-20 00:36:57 +01:00
parent 76fc71a989
commit 96a1f60aeb

View File

@@ -1462,8 +1462,10 @@ const HTMLOptions& HTMLParser::GetOptions( sal_uInt16 *pNoConvertToken )
OUString sName( aToken.copy( nStt, nPos-nStt ) ); OUString sName( aToken.copy( nStt, nPos-nStt ) );
// PlugIns require original token name. Convert to lower case only for searching. // PlugIns require original token name. Convert to upper case only for searching.
nToken = GetHTMLOption( sName.toAsciiLowerCase() ); // Name is ready OUString sNameUpperCase( sName.toAsciiUpperCase() );
nToken = GetHTMLOption( sNameUpperCase ); // Name is ready
DBG_ASSERTWARNING( nToken!=HTML_O_UNKNOWN, DBG_ASSERTWARNING( nToken!=HTML_O_UNKNOWN,
"GetOption: unknown HTML option" ); "GetOption: unknown HTML option" );
bool bStripCRLF = (nToken < HTML_OPTION_SCRIPT_START || bool bStripCRLF = (nToken < HTML_OPTION_SCRIPT_START ||