diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-14 15:54:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-14 15:58:26 +0000 |
commit | 3dd8bab3d07a35e2db33adbcdf25dcf80f46d3cd (patch) | |
tree | 5e33b57fd53841e9058b433e6eda8bd8bf2768c6 /svl | |
parent | 2de369e3717c2bf6d536649c9d8bd64726b6baf0 (diff) |
708253 Uninitialized pointer field
Change-Id: I9d00dd3020d7bc75b6047cf20da3926f10b3632a
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/itemset.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx index 7b1c14cdebec..2ce193575eee 100644 --- a/svl/source/items/itemset.cxx +++ b/svl/source/items/itemset.cxx @@ -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 ), |