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

@@ -338,7 +338,7 @@ void SbiCodeGen::Save()
SbxParamInfo* pParam = NULL;
if( nUserData )
{
pParam = (SbxParamInfo*)pInfo->GetParam( i );
pParam = const_cast<SbxParamInfo*>(pInfo->GetParam( i ));
}
if( pParam )
{