summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/bastyp/calc.cxx15
1 files 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) );