summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-09 10:54:45 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-09 10:54:45 +0100
commit2e3655bb51785d14b5e5bd3b07e0b6ae2fe1f86b (patch)
tree8798e2c54b48ba5e7f70f463fe70f20b9dc2b7cc
parenta272f5b7b30f356418ecf28eb95d066f081d1624 (diff)
loplugin:cstylecast
Change-Id: I86aaad9f38ad63121805fa3dc05b3a8a33428ef7
-rw-r--r--basic/source/comp/parser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx
index ea2976a76847..b38154b1b534 100644
--- a/basic/source/comp/parser.cxx
+++ b/basic/source/comp/parser.cxx
@@ -161,7 +161,7 @@ SbiSymDef* SbiParser::CheckRTLForSym( const OUString& rSym, SbxDataType eType )
if( pVar->IsA( TYPE(SbxMethod) ) )
{
SbiProcDef* pProc_ = aRtlSyms.AddProc( rSym );
- SbxMethod* pMethod = (SbxMethod*) pVar;
+ SbxMethod* pMethod = static_cast<SbxMethod*>(pVar);
if ( pMethod && pMethod->IsRuntimeFunction() )
{
pProc_->SetType( pMethod->GetRuntimeFunctionReturnType() );