summaryrefslogtreecommitdiff
path: root/svl/source/items/itemprop.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/itemprop.cxx')
-rw-r--r--svl/source/items/itemprop.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/items/itemprop.cxx b/svl/source/items/itemprop.cxx
index 66951f1340c0..a815405a1afb 100644
--- a/svl/source/items/itemprop.cxx
+++ b/svl/source/items/itemprop.cxx
@@ -84,7 +84,7 @@ const SfxItemPropertySimpleEntry* SfxItemPropertyMap::getByName( const OUString
{
SfxItemPropertyHashMap_t::const_iterator aIter = m_pImpl->find(rName);
if( aIter == m_pImpl->end() )
- return 0;
+ return nullptr;
return &aIter->second;
}
@@ -178,7 +178,7 @@ void SfxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry& rEn
throw(RuntimeException)
{
// get the SfxPoolItem
- const SfxPoolItem* pItem = 0;
+ const SfxPoolItem* pItem = nullptr;
SfxItemState eState = rSet.GetItemState( rEntry.nWID, true, &pItem );
if(SfxItemState::SET != eState && SFX_WHICH_MAX > rEntry.nWID )
pItem = &rSet.GetPool()->GetDefaultItem(rEntry.nWID);
@@ -192,7 +192,7 @@ void SfxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry& rEn
SfxItemSet aSet(*rSet.GetPool(), rEntry.nWID, rEntry.nWID);
if(0 == (rEntry.nFlags & PropertyAttribute::MAYBEVOID))
throw RuntimeException(
- "Property not found in ItemSet but not MAYBEVOID?", 0);
+ "Property not found in ItemSet but not MAYBEVOID?", nullptr);
}
@@ -232,7 +232,7 @@ void SfxItemPropertySet::setPropertyValue( const SfxItemPropertySimpleEntry& rEn
IllegalArgumentException)
{
// get the SfxPoolItem
- const SfxPoolItem* pItem = 0;
+ const SfxPoolItem* pItem = nullptr;
std::unique_ptr<SfxPoolItem> pNewItem;
SfxItemState eState = rSet.GetItemState( rEntry.nWID, true, &pItem );
if(SfxItemState::SET != eState && SFX_WHICH_MAX > rEntry.nWID )