new configuration manager
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: moduldl2.cxx,v $
|
* $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
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -91,12 +91,13 @@
|
|||||||
#include <so3/svstor.hxx>
|
#include <so3/svstor.hxx>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef _IODLG_HXX //autogen
|
#ifndef _IODLG_HXX //autogen
|
||||||
#include <sfx2/iodlg.hxx>
|
#include <sfx2/iodlg.hxx>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef INCLUDED_SVTOOLS_PATHOPTIONS_HXX
|
||||||
|
#include <svtools/pathoptions.hxx>
|
||||||
|
#endif
|
||||||
|
|
||||||
LibPage::LibPage( Window * pParent ) :
|
LibPage::LibPage( Window * pParent ) :
|
||||||
TabPage( pParent,IDEResId( RID_TP_LIBS ) ),
|
TabPage( pParent,IDEResId( RID_TP_LIBS ) ),
|
||||||
@@ -411,12 +412,8 @@ void LibPage::InsertLib()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Macro-Pfad vom Ini-Manager
|
// macro path from configuration management
|
||||||
SfxIniManager* pIni = SFX_INIMANAGER()->Find( SFX_KEY_WORK_PATH );
|
aPath = SvtPathOptions().GetWorkPath();
|
||||||
if ( !pIni )
|
|
||||||
pIni = SFX_INIMANAGER();
|
|
||||||
DBG_ASSERT( pIni, "Ini?!" );
|
|
||||||
aPath = pIni->Get( SFX_KEY_WORK_PATH );
|
|
||||||
aPath += DirEntry::GetAccessDelimiter();
|
aPath += DirEntry::GetAccessDelimiter();
|
||||||
aFileDialogBox.SetPath( aPath );
|
aFileDialogBox.SetPath( aPath );
|
||||||
aFileDialogBox.SetCurFilter( String( IDEResId( RID_STR_DOC ) ) );
|
aFileDialogBox.SetCurFilter( String( IDEResId( RID_STR_DOC ) ) );
|
||||||
|
Reference in New Issue
Block a user