summaryrefslogtreecommitdiff
path: root/svtools/source/svhtml/htmlkywd.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/svhtml/htmlkywd.cxx')
-rw-r--r--svtools/source/svhtml/htmlkywd.cxx5
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,