From 71c4a2b761885c2d5515e89fd5aedf7d1e8a249b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 12 May 2016 09:38:28 +0100 Subject: mpDefDialogParent is not used since 2002 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit i.e. commit c0ae87cb5f2989bc4b8dff4907994d513ee87e39 Author: Stephan Schäfer Date: Tue Oct 22 08:39:05 2002 +0000 #103442# choose DefDialogParent on-the-fly and so calling SetDefDialogParent doesn't achieve anything Change-Id: I2ec72da47b2dac03fdddbdb9eba5ae4bf205eb22 --- fpicker/source/office/iodlg.cxx | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'fpicker') diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index abc43719bb0a..4f5be408b176 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -1612,20 +1612,6 @@ bool SvtFileDialog::Notify( NotifyEvent& rNEvt ) return bRet || ModalDialog::Notify( rNEvt ); } - -class SvtDefModalDialogParent_Impl -{ -private: - VclPtr _pOld; - -public: - explicit SvtDefModalDialogParent_Impl( vcl::Window *pNew ) : - _pOld( Application::GetDefDialogParent() ) - { Application::SetDefDialogParent( pNew ); } - - ~SvtDefModalDialogParent_Impl() { Application::SetDefDialogParent( _pOld ); } -}; - namespace { @@ -2014,7 +2000,6 @@ short SvtFileDialog::PrepareExecute() _pFileView->Show(); _pSplitter->Show(); - SvtDefModalDialogParent_Impl aDefParent( this ); // if applicable read and set size from ini InitSize(); -- cgit