diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-10-06 20:08:18 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-10-06 20:09:52 +0200 |
commit | 277922e7a0a4ae8076c10936c4b12df6dcc5ddac (patch) | |
tree | 6d634bc0281596c0bd37e9832b318aa489637109 /svtools | |
parent | 1bbfd5a069eda17feec8b26c5002b8e7d570abee (diff) |
fix html tests
after 73e3aafa990168aa532fa7b81fc4de8f455b10e1 we need to lowercase all
html tags.
Change-Id: Ied686e153666f79c2a866473eeb393ec4e5bb961
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/svhtml/parhtml.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx index a6717d50f86e..474fd202b556 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('<'); |