diff options
author | David Tardon <dtardon@redhat.com> | 2011-04-28 07:28:53 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-04-28 07:28:53 +0200 |
commit | e49fc29521cac5a6c1cb973c4d2a9141b109705e (patch) | |
tree | 2b3726c290d5203aec50219ffa73de51e9183825 /basic/source/app/mybasic.cxx | |
parent | aa90dcca9311052ede6fd920943ae94d64eff771 (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.cxx | 9 |
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(); } /*************************************************************************** |