From 194198098d6a6d5b1ce580a35d83ba5e831c0c97 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 21 Feb 2014 11:56:20 +0000 Subject: coverity#707716 Uninitialized pointer field Change-Id: Ifea113d6fc0d6dd764a25cb6e70b9df41b7279c7 --- cppuhelper/source/propshlp.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cppuhelper') 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 ); -- cgit