summaryrefslogtreecommitdiff
path: root/svl/source/inc/poolio.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-04-04 14:27:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-04-04 14:27:40 +0100
commit965ad89b84463f04456ca3f91e50c8106176477f (patch)
treefe4e5c18bce6ec7545a643884fa4c05c82b6faa9 /svl/source/inc/poolio.hxx
parent93d25a20042974342582ec8047dfb30b10ec3f36 (diff)
handle incomplete reads more gracefully
Diffstat (limited to 'svl/source/inc/poolio.hxx')
-rw-r--r--svl/source/inc/poolio.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/svl/source/inc/poolio.hxx b/svl/source/inc/poolio.hxx
index 1702604b7fe9..bf2180770172 100644
--- a/svl/source/inc/poolio.hxx
+++ b/svl/source/inc/poolio.hxx
@@ -88,6 +88,16 @@ struct SfxItemPool_Impl
SfxItemPool_Impl( sal_uInt16 nStart, sal_uInt16 nEnd )
: ppPoolItems (new SfxPoolItemArray_Impl*[ nEnd - nStart + 1])
+ , nLoadingVersion(0)
+ , nInitRefCount(0)
+ , nVerStart(0)
+ , nVerEnd(0)
+ , nStoringStart(0)
+ , nStoringEnd(0)
+ , nMajorVer(0)
+ , nMinorVer(0)
+ , bInSetItem(false)
+ , bStreaming(false)
{
memset( ppPoolItems, 0, sizeof( SfxPoolItemArray_Impl* ) * ( nEnd - nStart + 1) );
}