diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 09:32:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 10:12:22 +0000 |
commit | 456b92609cdd0795e165ca4487419d1f329bb158 (patch) | |
tree | 602a95d95ddcb6214f2093e5be69b4c2dc1977e3 /svtools/source/svhtml/htmlkywd.cxx | |
parent | b32658e7c492b33c15c738f6dd365b921f29dbc4 (diff) |
fdo#74584: complete revert various previous changes to upcase HTML tags
f1f8b3bfdc3406ea79b662a2fda3d0c1cb87bb10 says it reverts
commit 3c84fa61570113d1dfb2523ab88f268eeeb46c3c.
commit 96a1f60aeb2a7954533da9b4aa4947efb7a65e70.
commit 1f74a3ce201bad68f160584900285e2c087ab2c0.
commit 3d481254a07fe82d11953f9825a2f8fc6eeabc0b.
but only reverted 3d481254a07fe82d11953f9825a2f8fc6eeabc0b
Change-Id: I0530bd0b176b1f1e9bbf8eee78376991c664a850
Diffstat (limited to 'svtools/source/svhtml/htmlkywd.cxx')
-rw-r--r-- | svtools/source/svhtml/htmlkywd.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svtools/source/svhtml/htmlkywd.cxx b/svtools/source/svhtml/htmlkywd.cxx index affbc86081a8..c0b791567dc8 100644 --- a/svtools/source/svhtml/htmlkywd.cxx +++ b/svtools/source/svhtml/htmlkywd.cxx @@ -189,7 +189,6 @@ static int SAL_CALL HTMLKeyCompare( const void *pFirst, const void *pSecond) int GetHTMLToken( const OUString& rName ) { - OUString aNameUpper = rName.toAsciiUpperCase(); if( !bSortKeyWords ) { qsort( (void*) aHTMLTokenTab, @@ -201,12 +200,12 @@ int GetHTMLToken( const OUString& rName ) int nRet = 0; - if (!aNameUpper.compareTo(OOO_STRING_SVTOOLS_HTML_comment, 3)) + if( !rName.compareTo( OOO_STRING_SVTOOLS_HTML_comment, 3 ) ) return HTML_COMMENT; void* pFound; HTML_TokenEntry aSrch; - aSrch.pUToken = &aNameUpper; + aSrch.pUToken = &rName; aSrch.nToken = -1; pFound = bsearch( (sal_Char *) &aSrch, |