diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-05 13:44:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-06 06:47:06 +0100 |
commit | a2e3705d8b3b05ae664d54b762d6ff72927d5e48 (patch) | |
tree | 6ac31f9c9b419b12dbf065845a6941c143f57e2c /svl/source/items/itemset.cxx | |
parent | f423ac2d3bdba4263f1f41e31e7e2b7715afdd6e (diff) |
loplugin:unnecessaryparen improve member expression
Change-Id: I304621018cb1e2a47e478e86df4229bcf2176741
Reviewed-on: https://gerrit.libreoffice.org/68757
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source/items/itemset.cxx')
-rw-r--r-- | svl/source/items/itemset.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx index ba5df7559def..254e8291b231 100644 --- a/svl/source/items/itemset.cxx +++ b/svl/source/items/itemset.cxx @@ -1662,7 +1662,7 @@ const SfxPoolItem* SfxAllItemSet::Put( const SfxPoolItem& rItem, sal_uInt16 nWhi if ( !pOld ) { bIncrementCount = true; - pOld = (m_pParent) + pOld = m_pParent ? &m_pParent->Get( nWhich ) : (SfxItemPool::IsWhich(nWhich) ? &m_pPool->GetDefaultItem(nWhich) |