summaryrefslogtreecommitdiff
path: root/basic
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
commit90eec1d1b63185794a97a22a5ad8293777cdd9cb (patch)
tree790239ff6e205f8bc0a728d63ac25de825a55fa0 /basic
parentf86bd621dbec0c432d2220f2124c8ef20aa15985 (diff)
the if is useless here--both branches are same
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();
}
/***************************************************************************