diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-01-14 09:22:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-01-14 11:47:35 +0100 |
commit | 424a1a8a06eb03d4c84fd63ca1b73abad0324f89 (patch) | |
tree | 8b34b0086ed5c230f21af04fee1ee83211222a6c /svl/source/items | |
parent | 6a70f2a42944918379f3bbefe080a6189bafd6a8 (diff) |
ofz#12507 micro opt
Change-Id: I7cdb2e371cb3e209b71659174594bf5bb687f379
Reviewed-on: https://gerrit.libreoffice.org/66284
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svl/source/items')
-rw-r--r-- | svl/source/items/itempool.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index f0945aaf3b2e..4ac7eb7cd60d 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -756,8 +756,8 @@ void SfxItemPool::Remove( const SfxPoolItem& rItem ) SfxPoolItemArray_Impl* pItemArr = pImpl->maPoolItems[nIndex].get(); assert(pItemArr && "removing Item not in Pool"); - SfxPoolItemArray_Impl::PoolItemPtrToIndexMap::const_iterator it; - it = pItemArr->maPtrToIndex.find(const_cast<SfxPoolItem *>(&rItem)); + SfxPoolItemArray_Impl::PoolItemPtrToIndexMap::const_iterator it + = pItemArr->maPtrToIndex.find(const_cast<SfxPoolItem *>(&rItem)); if (it != pItemArr->maPtrToIndex.end()) { sal_uInt32 nIdx = it->second; |