Kaydet (Commit) 2e3655bb authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast

Change-Id: I86aaad9f38ad63121805fa3dc05b3a8a33428ef7
üst a272f5b7
...@@ -161,7 +161,7 @@ SbiSymDef* SbiParser::CheckRTLForSym( const OUString& rSym, SbxDataType eType ) ...@@ -161,7 +161,7 @@ SbiSymDef* SbiParser::CheckRTLForSym( const OUString& rSym, SbxDataType eType )
if( pVar->IsA( TYPE(SbxMethod) ) ) if( pVar->IsA( TYPE(SbxMethod) ) )
{ {
SbiProcDef* pProc_ = aRtlSyms.AddProc( rSym ); SbiProcDef* pProc_ = aRtlSyms.AddProc( rSym );
SbxMethod* pMethod = (SbxMethod*) pVar; SbxMethod* pMethod = static_cast<SbxMethod*>(pVar);
if ( pMethod && pMethod->IsRuntimeFunction() ) if ( pMethod && pMethod->IsRuntimeFunction() )
{ {
pProc_->SetType( pMethod->GetRuntimeFunctionReturnType() ); pProc_->SetType( pMethod->GetRuntimeFunctionReturnType() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment