summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-01-20 10:24:24 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2014-01-20 10:30:30 +0900
commit3f150d2601a5eaec579816bc30a19fc4a446d571 (patch)
tree4684d3c652a1bacdf9855e173b97d0b8b52d90da /sw
parent2ee5758e4e91ab2d477d02310983f25e2f0d854e (diff)
Remove dead code
pDialog was always 0 Change-Id: I0874755d5b01bb3ccf6a3acb8dfdafdea78c31ee
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/uiview/viewdlg.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sw/source/ui/uiview/viewdlg.cxx b/sw/source/ui/uiview/viewdlg.cxx
index cc9a2b6afd21..392306804073 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: */