diff options
author | Mathias Bauer <mba@openoffice.org> | 2001-11-02 16:03:00 +0000 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2001-11-02 16:03:00 +0000 |
commit | 186be94bfe1a8cf6c854c6e34eb716ed35565547 (patch) | |
tree | a2b50967157567bb236f3be3eef1f8786bdfe95b | |
parent | 7da6e248d40dfa9d15c3f6c934e04e2363758c3e (diff) |
#93937#: Save starts with all docs instead of configurations
-rw-r--r-- | sfx2/source/dialog/cfg.cxx | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/sfx2/source/dialog/cfg.cxx b/sfx2/source/dialog/cfg.cxx index 52e610b432b5..1090ee5e37aa 100644 --- a/sfx2/source/dialog/cfg.cxx +++ b/sfx2/source/dialog/cfg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: cfg.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: mba $ $Date: 2001-11-02 16:38:36 $ + * last change: $Author: mba $ $Date: 2001-11-02 17:03:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1387,14 +1387,8 @@ String SfxConfigDialog::FileDialog_Impl( Window *pParent, WinBits nBits, const S sfx2::FileDialogHelper aFileDlg( nDialogType, 0 ); aFileDlg.SetTitle( rTitle ); - aFileDlg.AddFilter( String(SfxResId(STR_FILTERNAME_CFG)),DEFINE_CONST_UNICODE("*.cfg") ); aFileDlg.AddFilter( String(SfxResId(STR_FILTERNAME_ALL) ), DEFINE_CONST_UNICODE(FILEDIALOG_FILTER_ALL) ); - - INetURLObject aFilePath( SvtPathOptions().GetUserConfigPath() ); - aFilePath.setFinalSlash(); - String aCfgName = aFilePath.PathToFileName(); - - aFileDlg.SetDisplayDirectory( aCfgName ); + aFileDlg.AddFilter( String(SfxResId(STR_FILTERNAME_CFG)),DEFINE_CONST_UNICODE("*.cfg") ); if ( ERRCODE_NONE == aFileDlg.Execute() ) return aFileDlg.GetPath(); else |