708253 Uninitialized pointer field

Change-Id: I9d00dd3020d7bc75b6047cf20da3926f10b3632a
This commit is contained in:
Caolán McNamara
2014-03-14 15:54:59 +00:00
parent 2de369e371
commit 3dd8bab3d0

View File

@@ -222,11 +222,12 @@ void SfxItemSet::InitRanges_Impl(const sal_uInt16 *pWhichPairTable)
SfxItemSet::SfxItemSet( SfxItemPool& rPool, const sal_uInt16* pWhichPairTable ):
_pPool( &rPool ),
_pParent( 0 ),
_pWhichRanges(0),
_nCount( 0 )
SfxItemSet::SfxItemSet( SfxItemPool& rPool, const sal_uInt16* pWhichPairTable )
: _pPool(&rPool)
, _pParent(0)
, _aItems(0)
, _pWhichRanges(0)
, _nCount(0)
{
DBG_CTOR(SfxItemSet, 0);
DBG_ASSERTWARNING( _pPool == _pPool->GetMasterPool(), "kein Master-Pool" );
@@ -237,8 +238,6 @@ SfxItemSet::SfxItemSet( SfxItemPool& rPool, const sal_uInt16* pWhichPairTable ):
InitRanges_Impl(pWhichPairTable);
}
SfxItemSet::SfxItemSet( const SfxItemSet& rASet ):
_pPool( rASet._pPool ),
_pParent( rASet._pParent ),