summaryrefslogtreecommitdiff
path: root/idl/source
diff options
context:
space:
mode:
Diffstat (limited to 'idl/source')
-rw-r--r--idl/source/cmptools/lex.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/idl/source/cmptools/lex.cxx b/idl/source/cmptools/lex.cxx
index 82b3c9ea45d9..608448988470 100644
--- a/idl/source/cmptools/lex.cxx
+++ b/idl/source/cmptools/lex.cxx
@@ -23,6 +23,7 @@
#include <lex.hxx>
#include <globals.hxx>
#include <rtl/strbuf.hxx>
+#include<rtl/character.hxx>
OString SvToken::GetTokenAsString() const
{
@@ -172,7 +173,7 @@ sal_uLong SvTokenStream::GetNumber()
if( isdigit( c ) )
l = l * nLog + (c - '0');
else
- l = l * nLog + (toupper( c ) - 'A' + 10 );
+ l = l * nLog + (rtl::toAsciiUpperCase( c ) - 'A' + 10 );
c = GetFastNextChar();
}
}