From 3c84fa61570113d1dfb2523ab88f268eeeb46c3c Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 20 Feb 2014 00:37:12 +0100 Subject: [PATCH] fdo#74584: Revert "fix html tests" This reverts commit 277922e7a0a4ae8076c10936c4b12df6dcc5ddac. ...since 73e3aafa990168aa532fa7b81fc4de8f455b10e1 was reverted and sw_htmlexport test fails. Change-Id: I32a390a3058e43bc3314b678e27c74036b90f200 --- svtools/source/svhtml/parhtml.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx index 08ec21a84b65..a941a067e06e 100644 --- a/svtools/source/svhtml/parhtml.cxx +++ b/svtools/source/svhtml/parhtml.cxx @@ -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('<');