summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/baside2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/baside2.cxx')
-rw-r--r--basctl/source/basicide/baside2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx
index f8964c96c3b8..a114332e42b2 100644
--- a/basctl/source/basicide/baside2.cxx
+++ b/basctl/source/basicide/baside2.cxx
@@ -278,7 +278,7 @@ void ModulWindow::CheckCompileBasic()
bool const bModified = ( !m_xModule->IsCompiled() ||
( GetEditEngine() && GetEditEngine()->IsModified() ) );
- if ( !(!bRunning && bModified) )
+ if ( bRunning || !bModified )
return;
bool bDone = false;
@@ -325,7 +325,7 @@ void ModulWindow::BasicExecute()
CheckCompileBasic();
- if ( !(XModule().is() && m_xModule->IsCompiled() && !m_aStatus.bError) )
+ if ( !XModule().is() || !m_xModule->IsCompiled() || m_aStatus.bError )
return;
if ( GetBreakPoints().size() )