diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-05-12 09:38:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-05-12 10:09:26 +0100 |
commit | 71c4a2b761885c2d5515e89fd5aedf7d1e8a249b (patch) | |
tree | c8d9cbd035e2dcf601c18ef28cbb12f4f043295f /fpicker | |
parent | 533fd775d51472e6cff93487a27136f67f06d77f (diff) |
mpDefDialogParent is not used since 2002
i.e.
commit c0ae87cb5f2989bc4b8dff4907994d513ee87e39
Author: Stephan Schäfer <ssa@openoffice.org>
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
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
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<vcl::Window> _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(); |