fdo#74584: Revert "fix html tests"
This reverts commit 277922e7a0a4ae8076c10936c4b12df6dcc5ddac. ...since 73e3aafa990168aa532fa7b81fc4de8f455b10e1 was reverted and sw_htmlexport test fails. Change-Id: I32a390a3058e43bc3314b678e27c74036b90f200
This commit is contained in:
parent
96a1f60aeb
commit
3c84fa6157
@ -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('<');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user