From e49fc29521cac5a6c1cb973c4d2a9141b109705e Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 28 Apr 2011 07:28:53 +0200 Subject: [PATCH] the if is useless here--both branches are same --- basic/source/app/mybasic.cxx | 9 +-------- 1 file changed, 1 insertion(+), 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(); } /***************************************************************************