summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2021-04-12 09:04:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-04-12 10:03:06 +0200
commitcdf710200c2e9d8a335bf97ed73530f0d53c6376 (patch)
treeb4df9a1bd338cc873e877a68deb6c7af29db2452 /svl
parentbd9b009491b9aed5160be870dc82af5709f41af2 (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')
-rw-r--r--svl/source/items/itemprop.cxx2
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;
}
}