summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-10 11:07:36 +0200
committerNoel Grandin <noel@peralex.com>2015-04-13 09:37:12 +0200
commitee094bd46f55118993c72af719dc046476f9f311 (patch)
treed4658be34517150ec7881e7929e38f533ff0b393 /basctl
parent26ec80f47df1b32c5e1ae8c96d597ef8c90fee86 (diff)
loplugin:staticmethods
Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2.cxx2
-rw-r--r--basctl/source/basicide/baside2b.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx
index 5253ea982794..64c1343796c6 100644
--- a/basctl/source/basicide/baside2.cxx
+++ b/basctl/source/basicide/baside2.cxx
@@ -284,7 +284,7 @@ void ModulWindow::CheckCompileBasic()
bool bWasModified = GetBasic()->IsModified();
- bDone = GetBasic()->Compile( xModule );
+ bDone = StarBASIC::Compile( xModule );
if ( !bWasModified )
GetBasic()->SetModified(false);
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 72888568ff68..a27aa8ebead9 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -628,9 +628,9 @@ void EditorWindow::HandleAutoCorrect()
if( r.tokenType == TT_KEYWORDS )
{
sStr = sStr.toAsciiLowerCase();
- if( !rModulWindow.GetSbModule()->GetKeywordCase(sStr).isEmpty() )
+ if( !SbModule::GetKeywordCase(sStr).isEmpty() )
// if it is a keyword, get its correct case
- sStr = rModulWindow.GetSbModule()->GetKeywordCase(sStr);
+ sStr = SbModule::GetKeywordCase(sStr);
else
// else capitalize first letter/select the correct one, and replace
sStr = sStr.replaceAt( 0, 1, OUString(sStr[0]).toAsciiUpperCase() );