summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Völzke <dv@openoffice.org>2001-06-27 07:10:30 +0000
committerDirk Völzke <dv@openoffice.org>2001-06-27 07:10:30 +0000
commit7dcd70ed16e16929383efe468ee8180ed4cd0489 (patch)
tree49ee4b6303b57c7e3bc66ff24fd93dde7bc231b9
parent0db8d860ca7094f0ba9577ff08236ea10aebd8cc (diff)
#88650# Set last known directory when getDisplayDirectory() returns none
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index 45fb3e5d6bdd..470456d6619d 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: filedlghelper.cxx,v $
*
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: dv $ $Date: 2001-06-27 06:25:44 $
+ * last change: $Author: dv $ $Date: 2001-06-27 08:10:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -803,7 +803,8 @@ OUString FileDialogHelper_Impl::getPath() const
if ( mxFileDlg.is() )
aPath = mxFileDlg->getDisplayDirectory();
- else
+
+ if ( !aPath.getLength() )
aPath = maPath;
return aPath;