fdo#74584: Revert "fix html tests"
This reverts commit277922e7a0
. ...since73e3aafa99
was reverted and sw_htmlexport test fails. Change-Id: I32a390a3058e43bc3314b678e27c74036b90f200
This commit is contained in:
@@ -881,7 +881,7 @@ int HTMLParser::_GetNextRawToken()
|
|||||||
}
|
}
|
||||||
|
|
||||||
OUString aTok( sTmpBuffer.toString() );
|
OUString aTok( sTmpBuffer.toString() );
|
||||||
aTok = aTok.toAsciiLowerCase();
|
aTok = aTok.toAsciiUpperCase();
|
||||||
bool bDone = false;
|
bool bDone = false;
|
||||||
if( bReadScript || !aEndToken.isEmpty() )
|
if( bReadScript || !aEndToken.isEmpty() )
|
||||||
{
|
{
|
||||||
@@ -1126,7 +1126,7 @@ int HTMLParser::_GetNextToken()
|
|||||||
|
|
||||||
// Search token in table:
|
// Search token in table:
|
||||||
sSaveToken = aToken;
|
sSaveToken = aToken;
|
||||||
aToken = aToken.toAsciiLowerCase();
|
aToken = aToken.toAsciiUpperCase();
|
||||||
if( 0 == (nRet = GetHTMLToken( aToken )) )
|
if( 0 == (nRet = GetHTMLToken( aToken )) )
|
||||||
// Unknown control
|
// Unknown control
|
||||||
nRet = HTML_UNKNOWNCONTROL_ON;
|
nRet = HTML_UNKNOWNCONTROL_ON;
|
||||||
@@ -1913,7 +1913,7 @@ bool HTMLParser::IsHTMLFormat( const sal_Char* pHeader,
|
|||||||
sCmp = pHeader;
|
sCmp = pHeader;
|
||||||
}
|
}
|
||||||
|
|
||||||
sCmp = sCmp.toAsciiLowerCase();
|
sCmp = sCmp.toAsciiUpperCase();
|
||||||
|
|
||||||
// A HTML document must have a '<' in the first line
|
// A HTML document must have a '<' in the first line
|
||||||
sal_Int32 nStart = sCmp.indexOf('<');
|
sal_Int32 nStart = sCmp.indexOf('<');
|
||||||
|
Reference in New Issue
Block a user