Kaydet (Commit) 3c84fa61 authored tarafından Michael Stahl's avatar Michael Stahl

fdo#74584: Revert "fix html tests"

This reverts commit 277922e7.

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

Change-Id: I32a390a3058e43bc3314b678e27c74036b90f200
üst 96a1f60a
......@@ -881,7 +881,7 @@ int HTMLParser::_GetNextRawToken()
}
OUString aTok( sTmpBuffer.toString() );
aTok = aTok.toAsciiLowerCase();
aTok = aTok.toAsciiUpperCase();
bool bDone = false;
if( bReadScript || !aEndToken.isEmpty() )
{
......@@ -1126,7 +1126,7 @@ int HTMLParser::_GetNextToken()
// Search token in table:
sSaveToken = aToken;
aToken = aToken.toAsciiLowerCase();
aToken = aToken.toAsciiUpperCase();
if( 0 == (nRet = GetHTMLToken( aToken )) )
// Unknown control
nRet = HTML_UNKNOWNCONTROL_ON;
......@@ -1913,7 +1913,7 @@ bool HTMLParser::IsHTMLFormat( const sal_Char* pHeader,
sCmp = pHeader;
}
sCmp = sCmp.toAsciiLowerCase();
sCmp = sCmp.toAsciiUpperCase();
// A HTML document must have a '<' in the first line
sal_Int32 nStart = sCmp.indexOf('<');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment