From 2a198c02b95bd76c8d7c9e7dd7aff8fc7c030fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 11 Oct 2013 20:53:02 +0100 Subject: [PATCH] CID#1103739 unintialized members Change-Id: I15860351c15f7c28ae197fa626c58b5f3ead8bb7 --- sw/source/core/bastyp/calc.cxx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/sw/source/core/bastyp/calc.cxx b/sw/source/core/bastyp/calc.cxx index 9082c04f1d17..a5c0c969b334 100644 --- a/sw/source/core/bastyp/calc.cxx +++ b/sw/source/core/bastyp/calc.cxx @@ -229,12 +229,15 @@ static double lcl_ConvertToDateValue( SwDoc& rDoc, sal_Int32 nDate ) } SwCalc::SwCalc( SwDoc& rD ) - : aErrExpr( aEmptyStr, SwSbxValue(), 0 ), - rDoc( rD ), - pLclData( m_aSysLocale.GetLocaleDataPtr() ), - pCharClass( &GetAppCharClass() ), - nListPor( 0 ), - eError( CALC_NOERR ) + : aErrExpr( aEmptyStr, SwSbxValue(), 0 ) + , nCommandPos(0) + , rDoc( rD ) + , pLclData( m_aSysLocale.GetLocaleDataPtr() ) + , pCharClass( &GetAppCharClass() ) + , nListPor( 0 ) + , eCurrOper( CALC_NAME ) + , eCurrListOper( CALC_NAME ) + , eError( CALC_NOERR ) { aErrExpr.aStr = "~C_ERR~"; memset( VarTable, 0, sizeof(VarTable) );