diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:48:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:54:22 +0200 |
commit | 0e44fb66e59fffe7ba1187a825f9c2d3562459dd (patch) | |
tree | 6c76fb34e102153fbfe560a0f369c5e0e98e83e3 /basctl/source/basicide | |
parent | c2d4743d3009c1f993b6ef180b9c0593d9200079 (diff) |
loplugin:staticcall
Change-Id: Ida2e09b88c9df0d70c8298020d768e6386714edd
Diffstat (limited to 'basctl/source/basicide')
-rw-r--r-- | basctl/source/basicide/baside2.cxx | 10 | ||||
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx index bbf8a526a9d0..e9f44adc8b4e 100644 --- a/basctl/source/basicide/baside2.cxx +++ b/basctl/source/basicide/baside2.cxx @@ -411,7 +411,7 @@ bool ModulWindow::BasicStepOut() void ModulWindow::BasicStop() { - GetBasic()->Stop(); + StarBASIC::Stop(); aStatus.bIsRunning = false; } @@ -635,9 +635,9 @@ bool ModulWindow::BasicErrorHdl( StarBASIC * pBasic ) // ReturnWert: BOOL // FALSE: cancel // TRUE: go on.... - sal_uInt16 nErrorLine = pBasic->GetLine() - 1; - sal_uInt16 nErrCol1 = pBasic->GetCol1(); - sal_uInt16 nErrCol2 = pBasic->GetCol2(); + sal_uInt16 nErrorLine = StarBASIC::GetLine() - 1; + sal_uInt16 nErrCol1 = StarBASIC::GetCol1(); + sal_uInt16 nErrCol2 = StarBASIC::GetCol2(); if ( nErrCol2 != 0xFFFF ) nErrCol2++; @@ -670,7 +670,7 @@ long ModulWindow::BasicBreakHdl( StarBASIC* pBasic ) (void)pBasic; // Return value: sal_uInt16 => see SB-Debug-Flags - sal_uInt16 nErrorLine = pBasic->GetLine(); + sal_uInt16 nErrorLine = StarBASIC::GetLine(); BreakPoint* pBrk = GetBreakPoints().FindBreakPoint( nErrorLine ); diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 338f35078c3f..645da409edec 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -472,7 +472,7 @@ void EditorWindow::Command( const CommandEvent& rCEvt ) SfxDispatcher* pDispatcher = GetDispatcher(); if ( pDispatcher ) { - pDispatcher->ExecutePopup(); + SfxDispatcher::ExecutePopup(); } if( pCodeCompleteWnd->IsVisible() ) // hide the code complete window pCodeCompleteWnd->ClearAndHide(); |