diff options
Diffstat (limited to 'svl/source/items/poolcach.cxx')
-rw-r--r-- | svl/source/items/poolcach.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/items/poolcach.cxx b/svl/source/items/poolcach.cxx index eb1f955dbece..5fc786e05bea 100644 --- a/svl/source/items/poolcach.cxx +++ b/svl/source/items/poolcach.cxx @@ -28,7 +28,7 @@ SfxItemPoolCache::SfxItemPoolCache( SfxItemPool *pItemPool, const SfxPoolItem *pPutItem ): pPool(pItemPool), pCache(new SfxItemModifyArr_Impl), - pSetToPut( 0 ), + pSetToPut( nullptr ), pItemToPut( &pItemPool->Put(*pPutItem) ) { DBG_ASSERT(pItemPool, "No Pool provided"); @@ -40,7 +40,7 @@ SfxItemPoolCache::SfxItemPoolCache( SfxItemPool *pItemPool, pPool(pItemPool), pCache(new SfxItemModifyArr_Impl), pSetToPut( pPutSet ), - pItemToPut( 0 ) + pItemToPut( nullptr ) { DBG_ASSERT(pItemPool, "No Pool provided"); } @@ -52,7 +52,7 @@ SfxItemPoolCache::~SfxItemPoolCache() pPool->Remove( *(*pCache)[nPos].pPoolItem ); pPool->Remove( *(*pCache)[nPos].pOrigItem ); } - delete pCache; pCache = 0; + delete pCache; pCache = nullptr; if ( pItemToPut ) pPool->Remove( *pItemToPut ); |