summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-21 11:56:20 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-21 12:40:37 +0000
commit194198098d6a6d5b1ce580a35d83ba5e831c0c97 (patch)
treebd7e6919c981dd0de95c64cf9bafa103070c507f /cppuhelper
parentb6662967ab434f36504068687727ea6fdee66e79 (diff)
coverity#707716 Uninitialized pointer field
Change-Id: Ifea113d6fc0d6dd764a25cb6e70b9df41b7279c7
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/propshlp.cxx6
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 );