summaryrefslogtreecommitdiff
path: root/basic/source/comp/codegen.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-26 15:27:34 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-26 15:33:28 +0100
commit0511c867911695154ea677a89e9f40264e41467a (patch)
treee3d579ed7a691edecd2fa6659134d47a731ea2b5 /basic/source/comp/codegen.cxx
parent21997319a3d656b2d552b70089f824ead568f09e (diff)
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: If774a3b4e2e993d26dd9b5777a55665a330b2abe
Diffstat (limited to 'basic/source/comp/codegen.cxx')
-rw-r--r--basic/source/comp/codegen.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/comp/codegen.cxx b/basic/source/comp/codegen.cxx
index 785a9e0b18f3..8d4abe72b553 100644
--- a/basic/source/comp/codegen.cxx
+++ b/basic/source/comp/codegen.cxx
@@ -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 )
{