summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
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() );