diff options
Diffstat (limited to 'sc/source/ui/miscdlgs/instbdlg.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/instbdlg.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sc/source/ui/miscdlgs/instbdlg.cxx b/sc/source/ui/miscdlgs/instbdlg.cxx index a84d893b3b98..ff1714c23932 100644 --- a/sc/source/ui/miscdlgs/instbdlg.cxx +++ b/sc/source/ui/miscdlgs/instbdlg.cxx @@ -138,16 +138,10 @@ void ScInsertTableDlg::Init_Impl( bool bFromFile ) short ScInsertTableDlg::Execute() { - // set Parent of DocumentInserter and Doc-Manager - vcl::Window* pOldDefParent = Application::GetDefDialogParent(); - Application::SetDefDialogParent( this ); - if ( m_pBtnFromFile->IsChecked() ) aBrowseTimer.Start(); - short nRet = ModalDialog::Execute(); - Application::SetDefDialogParent( pOldDefParent ); - return nRet; + return ModalDialog::Execute(); } void ScInsertTableDlg::SetNewTable_Impl() |