summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-11 20:53:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-11 21:10:05 +0100
commit2a198c02b95bd76c8d7c9e7dd7aff8fc7c030fd5 (patch)
tree2c6e325afdc037a41236b7e4bac58ec002c78157
parentdace560b350346b9f9a102ee602bb129a008bcfe (diff)
CID#1103739 unintialized members
Change-Id: I15860351c15f7c28ae197fa626c58b5f3ead8bb7
-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) );