[Libreoffice-commits] core.git: sw/source
Takeshi Abe
tabe at fixedpoint.jp
Sun Jan 19 17:31:57 PST 2014
sw/source/ui/uiview/viewdlg.cxx | 7 -------
1 file changed, 7 deletions(-)
New commits:
commit 3f150d2601a5eaec579816bc30a19fc4a446d571
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Mon Jan 20 10:24:24 2014 +0900
Remove dead code
pDialog was always 0
Change-Id: I0874755d5b01bb3ccf6a3acb8dfdafdea78c31ee
diff --git a/sw/source/ui/uiview/viewdlg.cxx b/sw/source/ui/uiview/viewdlg.cxx
index cc9a2b6..3923068 100644
--- a/sw/source/ui/uiview/viewdlg.cxx
+++ b/sw/source/ui/uiview/viewdlg.cxx
@@ -35,7 +35,6 @@
void SwView::ExecDlg(SfxRequest &rReq)
{
- ModalDialog *pDialog = 0;
// Thus, from the basic no dialogues for background views are called:
const SfxPoolItem* pItem = 0;
const SfxItemSet* pArgs = rReq.GetArgs();
@@ -71,12 +70,6 @@ void SwView::ExecDlg(SfxRequest &rReq)
OSL_ENSURE(!this, "wrong dispatcher");
return;
}
-
- if( pDialog )
- {
- pDialog->Execute();
- delete pDialog;
- }
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list