diff options
Diffstat (limited to 'basic/source/sbx/sbxvar.cxx')
-rw-r--r-- | basic/source/sbx/sbxvar.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx index 0977c7449d02..8ed87aed644b 100644 --- a/basic/source/sbx/sbxvar.cxx +++ b/basic/source/sbx/sbxvar.cxx @@ -30,6 +30,7 @@ #include "sbunoobj.hxx" #include <math.h> #include <ctype.h> +#include <rtl/character.hxx> #include <com/sun/star/uno/XInterface.hpp> using namespace com::sun::star::uno; @@ -350,7 +351,7 @@ sal_uInt16 SbxVariable::MakeHashCode( const OUString& rName ) { return 0; } - n = sal::static_int_cast< sal_uInt16 >( ( n << 3 ) + toupper( c ) ); + n = sal::static_int_cast< sal_uInt16 >( ( n << 3 ) + rtl::toAsciiUpperCase( c ) ); } return n; } |