diff options
Diffstat (limited to 'basic/source/classes/sbunoobj.cxx')
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 829db9b695e4..8a67a697e5f0 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -3200,8 +3200,6 @@ Reference< XTypeDescriptionEnumeration > getTypeDescriptorEnumeration( const OUS return xEnum; } -typedef std::unordered_map< OUString, Any > VBAConstantsHash; - VBAConstantHelper& VBAConstantHelper::instance() { @@ -3278,7 +3276,7 @@ VBAConstantHelper::getVBAConstant( const OUString& rName ) SbxVariable* pConst = nullptr; init(); - VBAConstantsHash::const_iterator it = aConstHash.find( rName.toAsciiLowerCase() ); + auto it = aConstHash.find( rName.toAsciiLowerCase() ); if ( it != aConstHash.end() ) { |