diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 11:56:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 12:40:37 +0000 |
commit | 194198098d6a6d5b1ce580a35d83ba5e831c0c97 (patch) | |
tree | bd7e6919c981dd0de95c64cf9bafa103070c507f /cppuhelper | |
parent | b6662967ab434f36504068687727ea6fdee66e79 (diff) |
coverity#707716 Uninitialized pointer field
Change-Id: Ifea113d6fc0d6dd764a25cb6e70b9df41b7279c7
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/propshlp.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx index 5992c4b3edfe..8953767cc7af 100644 --- a/cppuhelper/source/propshlp.cxx +++ b/cppuhelper/source/propshlp.cxx @@ -1078,7 +1078,8 @@ OPropertyArrayHelper::OPropertyArrayHelper( sal_Int32 nEle, sal_Bool bSorted ) SAL_THROW(()) - : aInfos(pProps, nEle) + : m_pReserved(NULL) + , aInfos(pProps, nEle) , bRightOrdered( sal_False ) { init( bSorted ); @@ -1088,7 +1089,8 @@ OPropertyArrayHelper::OPropertyArrayHelper( const Sequence< Property > & aProps, sal_Bool bSorted ) SAL_THROW(()) - : aInfos(aProps) + : m_pReserved(NULL) + , aInfos(aProps) , bRightOrdered( sal_False ) { init( bSorted ); |