summaryrefslogtreecommitdiff
path: root/svl/source/inc
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/inc
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/inc')
-rw-r--r--svl/source/inc/poolio.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/svl/source/inc/poolio.hxx b/svl/source/inc/poolio.hxx
index ec3ec8349c78..627fd6ba62ab 100644
--- a/svl/source/inc/poolio.hxx
+++ b/svl/source/inc/poolio.hxx
@@ -58,6 +58,8 @@ struct SfxPoolVersion_Impl
{}
};
+typedef std::vector<SfxPoolItem*> SfxPoolItemArrayBase_Impl;
+
typedef std::shared_ptr< SfxPoolVersion_Impl > SfxPoolVersion_ImplPtr;
/**
@@ -110,7 +112,7 @@ struct SfxItemPool_Impl
bool mbPersistentRefCounts;
SfxItemPool_Impl( SfxItemPool* pMaster, const OUString& rName, sal_uInt16 nStart, sal_uInt16 nEnd )
- : maPoolItems(nEnd - nStart + 1)
+ : maPoolItems(nEnd - nStart + 1, static_cast<SfxPoolItemArray_Impl*>(nullptr))
, aName(rName)
, maPoolDefaults(nEnd - nStart + 1)
, ppStaticDefaults(nullptr)