summaryrefslogtreecommitdiff
path: root/padmin/source/newppdlg.cxx
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2001-09-04 15:24:50 +0000
committerPhilipp Lohmann <pl@openoffice.org>2001-09-04 15:24:50 +0000
commitcbbe10fec96963050fe7eefbe3820e21c4bf5edb (patch)
treed2f557a10b4188cacf91c90b43dd68b90b3912c1 /padmin/source/newppdlg.cxx
parent4fb34196f616969346a80ded2805dbf2a7da797f (diff)
#90314# replace ugly old svtools path dialogue with folder picker service
Diffstat (limited to 'padmin/source/newppdlg.cxx')
-rw-r--r--padmin/source/newppdlg.cxx14
1 files changed, 5 insertions, 9 deletions
diff --git a/padmin/source/newppdlg.cxx b/padmin/source/newppdlg.cxx
index ff6c71e97034..f240af81b2f4 100644
--- a/padmin/source/newppdlg.cxx
+++ b/padmin/source/newppdlg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: newppdlg.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: rt $ $Date: 2001-05-22 14:59:21 $
+ * last change: $Author: pl $ $Date: 2001-09-04 16:24:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -68,9 +68,6 @@
#ifndef _PSPRINT_HELPER_HXX_
#include <psprint/helper.hxx>
#endif
-#ifndef _SVT_FILEDLG_HXX
-#include <filedlg.hxx>
-#endif
#ifndef _SV_SVAPP_HXX
#include <vcl/svapp.hxx>
#endif
@@ -254,11 +251,10 @@ IMPL_LINK( PPDImportDialog, ClickBtnHdl, PushButton*, pButton )
}
else if( pButton == &m_aSearchBtn )
{
- PathDialog aDlg( this );
- aDlg.SetPath( m_aPathBox.GetText() );
- if( aDlg.Execute() )
+ String aPath( m_aPathBox.GetText() );
+ if( chooseDirectory( this, aPath ) )
{
- m_aPathBox.SetText( aDlg.GetPath() );
+ m_aPathBox.SetText( aPath );
Import();
}
}