summaryrefslogtreecommitdiff
path: root/svl/source/inc
diff options
context:
space:
mode:
authorBartosz Kosiorek <gang65@openoffice.org>2010-10-12 22:39:44 +0200
committerBartosz Kosiorek <gang65@openoffice.org>2010-10-12 22:39:44 +0200
commit9821d2f0bc21a4c27905ee7ba3738a315f4ee811 (patch)
treef056ac2d23a2d89b04291a9bff549e1a01e0ca76 /svl/source/inc
parent707cfea59b2950d79abe93550b7bd5f520f28ae8 (diff)
svarray: #i112395#: #i84159# SfxPoolItemArrayBase_Impl
Diffstat (limited to 'svl/source/inc')
-rw-r--r--svl/source/inc/poolio.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svl/source/inc/poolio.hxx b/svl/source/inc/poolio.hxx
index e462356ae419..79cbbc463700 100644
--- a/svl/source/inc/poolio.hxx
+++ b/svl/source/inc/poolio.hxx
@@ -54,18 +54,17 @@ struct SfxPoolVersion_Impl
{}
};
-SV_DECL_PTRARR( SfxPoolItemArrayBase_Impl, SfxPoolItem*, 0, 5 )
+typedef std::deque<SfxPoolItem*> SfxPoolItemArrayBase_Impl;
typedef boost::shared_ptr< SfxPoolVersion_Impl > SfxPoolVersion_ImplPtr;
typedef std::deque< SfxPoolVersion_ImplPtr > SfxPoolVersionArr_Impl;
struct SfxPoolItemArray_Impl: public SfxPoolItemArrayBase_Impl
{
- USHORT nFirstFree;
+ size_t nFirstFree;
- SfxPoolItemArray_Impl (USHORT nInitSize = 0)
- : SfxPoolItemArrayBase_Impl( nInitSize ),
- nFirstFree( 0 )
+ SfxPoolItemArray_Impl ()
+ : nFirstFree( 0 )
{}
};
@@ -99,7 +98,8 @@ struct SfxItemPool_Impl
void DeleteItems()
{
- delete[] ppPoolItems; ppPoolItems = 0;
+ delete[] ppPoolItems;
+ ppPoolItems = 0;
}
};