summaryrefslogtreecommitdiffstats
path: root/padmin/source/fontentry.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/fontentry.cxx
parent#88003# Don't overload add/removeEventListener (diff)
downloadcore-cbbe10fec96963050fe7eefbe3820e21c4bf5edb.tar.gz
core-cbbe10fec96963050fe7eefbe3820e21c4bf5edb.zip
#90314# replace ugly old svtools path dialogue with folder picker service
Diffstat (limited to 'padmin/source/fontentry.cxx')
-rw-r--r--padmin/source/fontentry.cxx14
1 files changed, 5 insertions, 9 deletions
diff --git a/padmin/source/fontentry.cxx b/padmin/source/fontentry.cxx
index fb5196852e92..4b2770aa29ee 100644
--- a/padmin/source/fontentry.cxx
+++ b/padmin/source/fontentry.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fontentry.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: pl $ $Date: 2001-06-27 16:03:31 $
+ * 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
@@ -77,9 +77,6 @@
#ifndef _PAD_FONTENTRY_HXX_
#include <fontentry.hxx>
#endif
-#ifndef _SVT_FILEDLG_HXX
-#include <filedlg.hxx>
-#endif
#ifndef _PAD_HELPER_HXX_
#include <helper.hxx>
#endif
@@ -685,11 +682,10 @@ IMPL_LINK( FontImportDialog, ClickBtnHdl, Button*, pButton )
{
if( pButton == &m_aFromBtn )
{
- PathDialog aDlg( this );
- aDlg.SetPath( m_aFromDirEdt.GetText() );
- if( aDlg.Execute() )
+ String aPath( m_aFromDirEdt.GetText() );
+ if( chooseDirectory( this, aPath ) )
{
- m_aFromDirEdt.SetText( aDlg.GetPath() );
+ m_aFromDirEdt.SetText( aPath );
RefreshTimeoutHdl( NULL );
}
}