loplugin:staticmethods

Change-Id: Ib0c0841e48814d1a6e13bcd4575725d86ffa5e5e
This commit is contained in:
Noel Grandin
2015-04-13 13:50:56 +02:00
parent 6d5ae48427
commit 12ba9e3cad
71 changed files with 159 additions and 159 deletions

View File

@@ -458,7 +458,7 @@ ScVbaApplication::Windows( const uno::Any& aIndex ) throw (uno::RuntimeExceptio
void SAL_CALL
ScVbaApplication::wait( double time ) throw (uno::RuntimeException, std::exception)
{
StarBASIC* pBasic = SfxGetpApp()->GetBasic();
StarBASIC* pBasic = SfxApplication::GetBasic();
SbxArrayRef aArgs = new SbxArray;
SbxVariableRef aRef = new SbxVariable;
aRef->PutDouble( time );
@@ -1261,7 +1261,7 @@ ScVbaApplication::setDisplayFormulaBar( sal_Bool _displayformulabar )
uno::Any SAL_CALL
ScVbaApplication::Caller( const uno::Any& /*aIndex*/ ) throw ( uno::RuntimeException, std::exception )
{
StarBASIC* pBasic = SfxGetpApp()->GetBasic();
StarBASIC* pBasic = SfxApplication::GetBasic();
SbMethod* pMeth = static_cast<SbMethod*>(pBasic->GetRtl()->Find( OUString("FuncCaller"), SbxCLASS_METHOD ));
uno::Any aRet;
if ( pMeth )