const_cast: convert some C-style casts and remove some redundant ones

Change-Id: If774a3b4e2e993d26dd9b5777a55665a330b2abe
This commit is contained in:
Stephan Bergmann
2015-03-26 15:27:34 +01:00
parent 21997319a3
commit 0511c86791
11 changed files with 21 additions and 21 deletions

View File

@@ -73,7 +73,7 @@ SbiExprNode::SbiExprNode( SbiParser* p, const SbiSymDef& r, SbxDataType t, SbiEx
eType = ( t == SbxVARIANT ) ? r.GetType() : t;
eNodeType = SbxVARVAL;
aVar.pDef = (SbiSymDef*) &r;
aVar.pDef = const_cast<SbiSymDef*>(&r);
aVar.pPar = l;
aVar.pvMorePar = NULL;
aVar.pNext= NULL;