svtools/source/svhtml/parhtml.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 277922e7a0a4ae8076c10936c4b12df6dcc5ddac Author: Thomas Arnhold <tho...@arnhold.org> Date: Sun Oct 6 20:08:18 2013 +0200 fix html tests after 73e3aafa990168aa532fa7b81fc4de8f455b10e1 we need to lowercase all html tags. Change-Id: Ied686e153666f79c2a866473eeb393ec4e5bb961 diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx index a6717d5..474fd20 100644 --- a/svtools/source/svhtml/parhtml.cxx +++ b/svtools/source/svhtml/parhtml.cxx @@ -886,7 +886,7 @@ int HTMLParser::_GetNextRawToken() } OUString aTok( sTmpBuffer.toString() ); - aTok = aTok.toAsciiUpperCase(); + aTok = aTok.toAsciiLowerCase(); bool bDone = false; if( bReadScript || !aEndToken.isEmpty() ) { @@ -1132,7 +1132,7 @@ int HTMLParser::_GetNextToken() // Search token in table: sSaveToken = aToken; - aToken = aToken.toAsciiUpperCase(); + aToken = aToken.toAsciiLowerCase(); if( 0 == (nRet = GetHTMLToken( aToken )) ) // Unknown control nRet = HTML_UNKNOWNCONTROL_ON; @@ -1930,7 +1930,7 @@ bool HTMLParser::IsHTMLFormat( const sal_Char* pHeader, sCmp = pHeader; } - sCmp = sCmp.toAsciiUpperCase(); + sCmp = sCmp.toAsciiLowerCase(); // A HTML document must have a '<' in the first line sal_Int32 nStart = sCmp.indexOf('<'); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits