diff options
author | Noel Grandin <noel@peralex.com> | 2021-04-12 17:01:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-12 20:28:32 +0200 |
commit | 26fc87c6827e9d86c5b7cf7aa216f0a60ab28411 (patch) | |
tree | 7776964e72028ca3c9daa56a86578f103c05ef5d /svl | |
parent | 46fe595379a898ee7e537cbffd5d215d4a58aca5 (diff) |
make SfxItemPropertySimpleEntry constructor explicit
Change-Id: I09d6045320b44746fbdb103db884c214e0509a78
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114012
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/itemprop.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/itemprop.cxx b/svl/source/items/itemprop.cxx index 7898464b9b84..57e44a7f861a 100644 --- a/svl/source/items/itemprop.cxx +++ b/svl/source/items/itemprop.cxx @@ -39,7 +39,7 @@ SfxItemPropertyMap::SfxItemPropertyMap( const SfxItemPropertyMapEntry* pEntries { while( !pEntries->aName.empty() ) { - m_aMap[ pEntries->aName ] = *pEntries; + m_aMap.emplace( pEntries->aName, *pEntries ); ++pEntries; } } |