diff options
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/misc/stringpool.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svl/source/misc/stringpool.cxx b/svl/source/misc/stringpool.cxx index 76dc4aaf34e2..11b62881b95b 100644 --- a/svl/source/misc/stringpool.cxx +++ b/svl/source/misc/stringpool.cxx @@ -40,8 +40,7 @@ rtl_uString* StringPool::intern( const OUString& rStr ) return pOrig; // Set mapping. - rtl_uString* pUpper = aRes.first->pData; - maToUpperMap.insert(StrIdMapType::value_type(pOrig, pUpper)); + maToUpperMap.insert(StrIdMapType::value_type(pOrig, *aRes.first)); return pOrig; } @@ -64,7 +63,7 @@ StringPool::StrIdType StringPool::getIdentifierIgnoreCase( const OUString& rStr // Passed string is not in the pool. return 0; - const rtl_uString* pUpper = itUpper->second; + const rtl_uString* pUpper = itUpper->second.pData; return reinterpret_cast<StrIdType>(pUpper); } |