summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 17:48:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 17:54:22 +0200
commit0e44fb66e59fffe7ba1187a825f9c2d3562459dd (patch)
tree6c76fb34e102153fbfe560a0f369c5e0e98e83e3 /basctl
parentc2d4743d3009c1f993b6ef180b9c0593d9200079 (diff)
loplugin:staticcall
Change-Id: Ida2e09b88c9df0d70c8298020d768e6386714edd
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2.cxx10
-rw-r--r--basctl/source/basicide/baside2b.cxx2
-rw-r--r--basctl/source/dlged/propbrw.cxx2
3 files changed, 7 insertions, 7 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();
diff --git a/basctl/source/dlged/propbrw.cxx b/basctl/source/dlged/propbrw.cxx
index 847bdfd7cfb8..e68f7ebd0a44 100644
--- a/basctl/source/dlged/propbrw.cxx
+++ b/basctl/source/dlged/propbrw.cxx
@@ -490,7 +490,7 @@ void PropBrw::ImplUpdate( const Reference< XModel >& _rxContextDocument, SdrView
if ( pDlgEdObj->IsGroupObject() ) // group object
aNewObjects = CreateMultiSelectionSequence( rMarkList );
else // single selection
- xNewObject = xNewObject.query( pDlgEdObj->GetUnoControlModel() );
+ xNewObject.set(pDlgEdObj->GetUnoControlModel(), css::uno::UNO_QUERY);
}
}
else if ( nMarkCount > 1 ) // multiple selection