diff options
Diffstat (limited to 'svl/source/misc')
-rw-r--r-- | svl/source/misc/sharedstringpool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/misc/sharedstringpool.cxx b/svl/source/misc/sharedstringpool.cxx index d1b5aa695a1d..3383a7869566 100644 --- a/svl/source/misc/sharedstringpool.cxx +++ b/svl/source/misc/sharedstringpool.cxx @@ -101,7 +101,7 @@ SharedString SharedStringPool::intern( const OUString& rStr ) // Failed to insert or fetch upper-case variant. Should never happen. return SharedString(); - mpImpl->maStrStore.insert(StrStoreType::value_type(pOrig, *aRes.first)); + mpImpl->maStrStore.emplace(pOrig, *aRes.first); return SharedString(pOrig, aRes.first->pData); } |