diff options
author | Philipp Lohmann <pl@openoffice.org> | 2001-09-13 15:01:24 +0000 |
---|---|---|
committer | Philipp Lohmann <pl@openoffice.org> | 2001-09-13 15:01:24 +0000 |
commit | e6fcbd83157e92184880f6c6a9454fd9536ce251 (patch) | |
tree | 6db34cd0686ac3c41536d2c37c847e7ba910e647 /padmin | |
parent | 8329fed9369f0b3f802d2c05f2b4925a15b442b7 (diff) |
#90314# remove old path dialogue
Diffstat (limited to 'padmin')
-rw-r--r-- | padmin/source/cmddlg.cxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/padmin/source/cmddlg.cxx b/padmin/source/cmddlg.cxx index 289ae619484d..2b024d357a57 100644 --- a/padmin/source/cmddlg.cxx +++ b/padmin/source/cmddlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: cmddlg.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: pl $ $Date: 2001-06-15 15:30:08 $ + * last change: $Author: pl $ $Date: 2001-09-13 16:01:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -79,9 +79,6 @@ #ifndef _PAD_HELPER_HXX_ #include <helper.hxx> #endif -#ifndef _SVT_FILEDLG_HXX -#include <filedlg.hxx> -#endif #ifndef _PAD_PRTSETUP_HXX_ #include <prtsetup.hxx> @@ -447,10 +444,9 @@ IMPL_LINK( RTSCommandPage, ClickBtnHdl, Button*, pButton ) { if( pButton == & m_aPdfDirectoryButton ) { - PathDialog aDialog( this ); - aDialog.SetPath( m_aPdfDirectoryEdit.GetText() ); - if( aDialog.Execute() ) - m_aPdfDirectoryEdit.SetText( aDialog.GetPath() ); + String aPath( m_aPdfDirectoryEdit.GetText() ); + if( chooseDirectory( this, aPath ) ) + m_aPdfDirectoryEdit.SetText( aPath ); } else if( pButton == &m_aRemovePB ) { |