diff options
Diffstat (limited to 'svl/source/items/itempool.cxx')
-rw-r--r-- | svl/source/items/itempool.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index 4ac7eb7cd60d..00bc517e0c85 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -637,8 +637,7 @@ const SfxPoolItem& SfxItemPool::Put( const SfxPoolItem& rItem, sal_uInt16 nWhich // if is already in a pool, then it is worth checking if it is in this one. if ( IsPooledItem(&rItem) ) { - SfxPoolItemArray_Impl::PoolItemPtrToIndexMap::const_iterator it; - it = pItemArr->maPtrToIndex.find(const_cast<SfxPoolItem *>(&rItem)); + auto it = pItemArr->maPtrToIndex.find(const_cast<SfxPoolItem *>(&rItem)); // 1. search for an identical pointer in the pool if (it != pItemArr->maPtrToIndex.cend()) |