CID#1103739 unintialized members

Change-Id: I15860351c15f7c28ae197fa626c58b5f3ead8bb7
This commit is contained in:
Caolán McNamara 2013-10-11 20:53:02 +01:00
parent dace560b35
commit 2a198c02b9

View File

@ -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) );