diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-18 16:04:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-19 05:41:29 +0000 |
commit | afaa10da25729f2aa5ca7df86d6bbea83d45cccf (patch) | |
tree | 52a4b843dd16f0115d1938f9e9891ed540973a29 /svl/source | |
parent | 2da34e265db6ca56e43d9b2ab8cee04b1cc4fb29 (diff) |
make SfxItemSet with SAL_WARN_UNUSED
Change-Id: Ia74ca329d8438f614169031acfbe0406faf7c281
Reviewed-on: https://gerrit.libreoffice.org/33268
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/items/itemprop.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/svl/source/items/itemprop.cxx b/svl/source/items/itemprop.cxx index e6ac2eddcc49..70669963d8b7 100644 --- a/svl/source/items/itemprop.cxx +++ b/svl/source/items/itemprop.cxx @@ -234,11 +234,6 @@ void SfxItemPropertySet::setPropertyValue( const SfxItemPropertySimpleEntry& rEn SfxItemState eState = rSet.GetItemState( rEntry.nWID, true, &pItem ); if (SfxItemState::SET != eState && SfxItemPool::IsWhich(rEntry.nWID)) pItem = &rSet.GetPool()->GetDefaultItem(rEntry.nWID); - //maybe there's another way to find an Item - if(eState < SfxItemState::DEFAULT) - { - SfxItemSet aSet(*rSet.GetPool(), rEntry.nWID, rEntry.nWID); - } if(!pNewItem && pItem) { pNewItem.reset(pItem->Clone()); |