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 /include | |
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 'include')
-rw-r--r-- | include/svl/itemprop.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/svl/itemprop.hxx b/include/svl/itemprop.hxx index 67cedb7a64b6..68d1a6681c90 100644 --- a/include/svl/itemprop.hxx +++ b/include/svl/itemprop.hxx @@ -94,12 +94,12 @@ struct SfxItemPropertySimpleEntry assert(_nFlags <= 0x1ff ); } - SfxItemPropertySimpleEntry( const SfxItemPropertyMapEntry* pMapEntry ) - : aType( pMapEntry->aType ) - , nWID( pMapEntry->nWID ) - , nFlags( pMapEntry->nFlags ) - , nMemberId( pMapEntry->nMemberId ) - , nMoreFlags( pMapEntry->nMoreFlags ) + SfxItemPropertySimpleEntry( const SfxItemPropertyMapEntry& rMapEntry ) + : aType( rMapEntry.aType ) + , nWID( rMapEntry.nWID ) + , nFlags( rMapEntry.nFlags ) + , nMemberId( rMapEntry.nMemberId ) + , nMoreFlags( rMapEntry.nMoreFlags ) { } |