diff --git a/svl/source/items/itemprop.cxx b/svl/source/items/itemprop.cxx index fd22a4f68733..98c19b200d90 100644 --- a/svl/source/items/itemprop.cxx +++ b/svl/source/items/itemprop.cxx @@ -218,7 +218,7 @@ 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); - if(!pNewItem && pItem) + if (pItem) { pNewItem.reset(pItem->Clone()); }