summaryrefslogtreecommitdiff
path: root/basic/source/app/mybasic.cxx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-04-28 07:28:53 +0200
committerDavid Tardon <dtardon@redhat.com>2011-04-28 07:28:53 +0200
commite49fc29521cac5a6c1cb973c4d2a9141b109705e (patch)
tree2b3726c290d5203aec50219ffa73de51e9183825 /basic/source/app/mybasic.cxx
parentaa90dcca9311052ede6fd920943ae94d64eff771 (diff)
the if is useless here--both branches are same
Diffstat (limited to 'basic/source/app/mybasic.cxx')
-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 099d31878b4f..61a2c817729f 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();
}
/***************************************************************************