summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/filedlghelper.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-09-29 13:52:24 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-09-29 13:52:24 +0000
commit3bcd8a91cfebb26b79573fec0df4753e7b418ff0 (patch)
treefa3d2e57fcd0bf95b485865cf16602ca1a9504f3 /sfx2/source/dialog/filedlghelper.cxx
parent7ee40408d246c6342cfc66bc58993398707c2e69 (diff)
INTEGRATION: CWS geordi2q06 (1.104.4); FILE MERGED
2003/09/29 14:32:44 rt 1.104.4.1: #111934#: join CWS restrictedaccess
Diffstat (limited to 'sfx2/source/dialog/filedlghelper.cxx')
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index db7b9faa6e34..1fc4496c4021 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: filedlghelper.cxx,v $
*
- * $Revision: 1.104 $
+ * $Revision: 1.105 $
*
- * last change: $Author: rt $ $Date: 2003-09-19 07:59:12 $
+ * last change: $Author: hr $ $Date: 2003-09-29 14:52:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2106,7 +2106,14 @@ void FileDialogHelper_Impl::setDefaultValues()
if ( ! maPath.getLength() )
{
OUString aWorkFolder = SvtPathOptions().GetWorkPath();
- mxFileDlg->setDisplayDirectory( aWorkFolder );
+ try
+ {
+ mxFileDlg->setDisplayDirectory( aWorkFolder );
+ }
+ catch( const Exception& )
+ {
+ DBG_ERROR( "FileDialogHelper_Impl::setDefaultValues: caught an exception while setting the display directory!" );
+ }
// INetURLObject aStdDirObj( SvtPathOptions().GetWorkPath() );
//SetStandardDir( aStdDirObj.GetMainURL( INetURLObject::NO_DECODE ) );