diff options
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/tools/rscchar.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rsc/source/tools/rscchar.cxx b/rsc/source/tools/rscchar.cxx index b00d61f8869b..dbe096e24a4c 100644 --- a/rsc/source/tools/rscchar.cxx +++ b/rsc/source/tools/rscchar.cxx @@ -26,6 +26,7 @@ #include <rtl/textcvt.h> #include <rtl/textenc.h> #include <rtl/alloc.h> +#include <rtl/character.hxx> char * RscChar::MakeUTF8( char * pStr, sal_uInt16 nTextEncoding ) { @@ -109,7 +110,7 @@ char * RscChar::MakeUTF8( char * pStr, sal_uInt16 nTextEncoding ) { if( isdigit( *pStr ) ) nChar = nChar * 16 + (sal_uInt8)*pStr - (sal_uInt8)'0'; - else if( isupper( *pStr ) ) + else if( rtl::isAsciiUpperCase( *pStr ) ) nChar = nChar * 16 + (sal_uInt8)*pStr - (sal_uInt8)'A' +10; else nChar = nChar * 16 + (sal_uInt8)*pStr - (sal_uInt8)'a' +10; |