summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/instbdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/miscdlgs/instbdlg.cxx')
-rw-r--r--sc/source/ui/miscdlgs/instbdlg.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/ui/miscdlgs/instbdlg.cxx b/sc/source/ui/miscdlgs/instbdlg.cxx
index e34b22a6f336..ae81f4e3c17b 100644
--- a/sc/source/ui/miscdlgs/instbdlg.cxx
+++ b/sc/source/ui/miscdlgs/instbdlg.cxx
@@ -38,7 +38,6 @@ ScInsertTableDlg::ScInsertTableDlg(weld::Window* pParent, ScViewData& rData, SCT
, aBrowseTimer("ScInsertTableDlg aBrowseTimer")
, rViewData(rData)
, rDoc(rData.GetDocument())
- , pDocShTables(nullptr)
, bMustClose(false)
, nSelTabIndex(0)
, nTableCount(nTabCount)
@@ -318,7 +317,6 @@ IMPL_LINK( ScInsertTableDlg, DialogClosedHdl, sfx2::FileDialogHelper*, _pFileDlg
pMed->UseInteractionHandler( true ); // to enable the filter options dialog
pDocShTables = new ScDocShell;
- aDocShTablesRef = pDocShTables;
{
weld::WaitObject aWait(m_xDialog.get());
@@ -337,8 +335,7 @@ IMPL_LINK( ScInsertTableDlg, DialogClosedHdl, sfx2::FileDialogHelper*, _pFileDlg
else
{
pDocShTables->DoClose();
- aDocShTablesRef.clear();
- pDocShTables = nullptr;
+ pDocShTables.clear();
FillTables_Impl( nullptr );
m_xFtPath->set_label(OUString());