summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-02-20 00:37:12 +0100
committerMichael Stahl <mstahl@redhat.com>2014-02-20 00:52:22 +0100
commit3c84fa61570113d1dfb2523ab88f268eeeb46c3c (patch)
tree8f3ccb51462fcda3a303bb58a5cd700b17432951
parent96a1f60aeb2a7954533da9b4aa4947efb7a65e70 (diff)
fdo#74584: Revert "fix html tests"
This reverts commit 277922e7a0a4ae8076c10936c4b12df6dcc5ddac. ...since 73e3aafa990168aa532fa7b81fc4de8f455b10e1 was reverted and sw_htmlexport test fails. Change-Id: I32a390a3058e43bc3314b678e27c74036b90f200
-rw-r--r--svtools/source/svhtml/parhtml.cxx6
1 files 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('<');