summaryrefslogtreecommitdiff
path: root/svl/source/items
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-22 21:12:59 +0200
committerNoel Grandin <noel@peralex.com>2016-09-22 21:12:59 +0200
commitb0eecd2d3ba4a1a424a2d52cccf64fe6fc09c34b (patch)
tree8f6b2ae02ccc0ee8a72dae8a652493f8e087cadd /svl/source/items
parentd141d5b3bd11ba6154b5d064fb69900405724b13 (diff)
Revert "remove SfxPoolItemArrayBase_Impl typedef"
This reverts commit d141d5b3bd11ba6154b5d064fb69900405724b13. seems like I pushed it too soon, it depends on other commits not in yet.
Diffstat (limited to 'svl/source/items')
-rw-r--r--svl/source/items/itempool.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index 7a38d451acf7..6f4a6f210ad7 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -646,7 +646,7 @@ const SfxPoolItem& SfxItemPool::Put( const SfxPoolItem& rItem, sal_uInt16 nWhich
pItemArr = pImpl->maPoolItems[nIndex];
}
- std::vector<SfxPoolItem*>::iterator ppFree;
+ SfxPoolItemArrayBase_Impl::iterator ppFree;
bool ppFreeIsSet = false;
// Is this a 'poolable' item - ie. should we re-use and return
@@ -693,7 +693,7 @@ const SfxPoolItem& SfxItemPool::Put( const SfxPoolItem& rItem, sal_uInt16 nWhich
// Unconditionally insert; check for a recently freed place
if (pItemArr->maFree.size() > 0)
{
- auto itr = pItemArr->begin();
+ SfxPoolItemArrayBase_Impl::iterator itr = pItemArr->begin();
sal_uInt32 nIdx = pItemArr->maFree.back();
pItemArr->maFree.pop_back();