summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-01-16 01:09:20 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-01-16 10:03:07 +0900
commit604936e0dcf256fa5a2fb95054a2d06810dd9191 (patch)
tree4581ec999db00044d404cc8399860e6c91c0a6c8
parent6819f9b834581acd5507cd2301bda8b5395b937d (diff)
Drop unreachable branch
Change-Id: I90ce9190b652956e3ddb248bf570cf829da3a387
-rw-r--r--sw/source/ui/dialog/regionsw.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sw/source/ui/dialog/regionsw.cxx b/sw/source/ui/dialog/regionsw.cxx
index b45312b23909..80005c685f43 100644
--- a/sw/source/ui/dialog/regionsw.cxx
+++ b/sw/source/ui/dialog/regionsw.cxx
@@ -218,8 +218,6 @@ void SwBaseShell::EditRegionDialog(SfxRequest& rReq)
case FN_EDIT_REGION:
{
Window* pParentWin = &GetView().GetViewFrame()->GetWindow();
- sal_Bool bStart = sal_True;
- if(bStart)
{
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "Dialogdiet fail!");
@@ -233,8 +231,6 @@ void SwBaseShell::EditRegionDialog(SfxRequest& rReq)
pEditRegionDlg->Execute();
delete pEditRegionDlg;
}
- else
- InfoBox(pParentWin, SW_RES(REG_WRONG_PASSWORD)).Execute();
}
break;
}