summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
Diffstat (limited to 'basic')
-rw-r--r--basic/source/app/mybasic.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/basic/source/app/mybasic.cxx b/basic/source/app/mybasic.cxx
index c26bce8449..da192fee0c 100644
--- a/basic/source/app/mybasic.cxx
+++ b/basic/source/app/mybasic.cxx
@@ -257,14 +257,7 @@ sal_uInt16 MyBasic::BreakHdl()
pWin->Highlight( GetLine(), GetCol1(), GetCol2() );
}
- if( IsBreak() ) // If Breakpoint (or "Run to Cursor")
- {
- return aBasicApp.pFrame->BreakHandler();
- }
- else
- {
- return aBasicApp.pFrame->BreakHandler();
- }
+ return aBasicApp.pFrame->BreakHandler();
}
/***************************************************************************