diff options
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 2 | ||||
-rw-r--r-- | basic/source/inc/sbunoobj.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index fdfcb75ccf5c..c0efa32baa99 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -4730,7 +4730,7 @@ SbxVariable* SbUnoStructRefObject::Find( const OUString& rName, SbxClassType t ) { if ( !mbMemberCacheInit ) initMemberCache(); - StructFieldInfo::iterator it = maFields.find( OUString( rName ).toAsciiUpperCase() ); + StructFieldInfo::iterator it = maFields.find( rName ); if ( it != maFields.end() ) { SbxDataType eSbxType; diff --git a/basic/source/inc/sbunoobj.hxx b/basic/source/inc/sbunoobj.hxx index 3ee8f0478f1a..a707d72a1d1e 100644 --- a/basic/source/inc/sbunoobj.hxx +++ b/basic/source/inc/sbunoobj.hxx @@ -68,7 +68,7 @@ class SbUnoStructRefObject: public SbxObject { bool operator() (const OUString& rProp, const OUString& rOtherProp ) const { - return rProp.toAsciiUpperCase().compareTo( rOtherProp.toAsciiUpperCase() ) < 0; + return rProp.compareToIgnoreAsciiCase( rOtherProp ) < 0; } }; typedef std::map< OUString, StructRefInfo*, caseLessComp > StructFieldInfo; |