diff options
author | Noel Grandin <noel@peralex.com> | 2021-04-12 09:04:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-12 10:03:06 +0200 |
commit | cdf710200c2e9d8a335bf97ed73530f0d53c6376 (patch) | |
tree | b4df9a1bd338cc873e877a68deb6c7af29db2452 /svl/source | |
parent | bd9b009491b9aed5160be870dc82af5709f41af2 (diff) |
SfxItemPropertySimpleEntry constructor should take a reference
not a pointer
Change-Id: I09e356d9230e2cf386349aad028a41548cb050ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113965
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source')
-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 7f9c6cba72f3..d55677f77b70 100644 --- a/svl/source/items/itemprop.cxx +++ b/svl/source/items/itemprop.cxx @@ -58,7 +58,7 @@ SfxItemPropertyMap::SfxItemPropertyMap( const SfxItemPropertyMapEntry* pEntries { while( !pEntries->aName.empty() ) { - (*m_pImpl) [ pEntries->aName ] = pEntries; + (*m_pImpl) [ pEntries->aName ] = *pEntries; ++pEntries; } } |