diff options
author | Thomas Benisch <tbe@openoffice.org> | 2000-11-14 13:25:01 +0000 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2000-11-14 13:25:01 +0000 |
commit | 86655dcb78ec4cfdaeceb167ff249c5604316b07 (patch) | |
tree | 0da40378b651a2da157bd370efd8c74ebae4ad62 /basctl | |
parent | 65891be1049a85643eb969137dee84f3e4c35d66 (diff) |
new configuration manager
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index e9c204b024de..c815ce30147d 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: moduldl2.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: mh $ $Date: 2000-09-29 11:02:37 $ + * last change: $Author: tbe $ $Date: 2000-11-14 14:25:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -91,12 +91,13 @@ #include <so3/svstor.hxx> #endif - #ifndef _IODLG_HXX //autogen #include <sfx2/iodlg.hxx> #endif - +#ifndef INCLUDED_SVTOOLS_PATHOPTIONS_HXX +#include <svtools/pathoptions.hxx> +#endif LibPage::LibPage( Window * pParent ) : TabPage( pParent,IDEResId( RID_TP_LIBS ) ), @@ -411,12 +412,8 @@ void LibPage::InsertLib() } else { - // Macro-Pfad vom Ini-Manager - SfxIniManager* pIni = SFX_INIMANAGER()->Find( SFX_KEY_WORK_PATH ); - if ( !pIni ) - pIni = SFX_INIMANAGER(); - DBG_ASSERT( pIni, "Ini?!" ); - aPath = pIni->Get( SFX_KEY_WORK_PATH ); + // macro path from configuration management + aPath = SvtPathOptions().GetWorkPath(); aPath += DirEntry::GetAccessDelimiter(); aFileDialogBox.SetPath( aPath ); aFileDialogBox.SetCurFilter( String( IDEResId( RID_STR_DOC ) ) ); |