loplugin:cstylecast

Change-Id: I86aaad9f38ad63121805fa3dc05b3a8a33428ef7
This commit is contained in:
Stephan Bergmann 2015-01-09 10:54:45 +01:00
parent a272f5b7b3
commit 2e3655bb51

View File

@ -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() );