diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-11-11 10:39:08 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-11-11 10:39:08 +0000 |
commit | abfbc03b4ffd4c519529ebc9d2728b97f3a4490a (patch) | |
tree | b7ee95b91c333322732af67bb6007c395e2fda05 /fpicker | |
parent | 2a229c7e5f30a2a47a7e4f9c682d0d97febaf109 (diff) |
INTEGRATION: CWS c06 (1.2.40); FILE MERGED
2005/10/07 15:32:15 kso 1.2.40.1: #125964# - Better handling of non-existing directories/files.
Issue number:
Submitted by:
Reviewed by:
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/OfficeFilePicker.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx index d3873723767a..ffa43906e9bb 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -4,9 +4,9 @@ * * $RCSfile: OfficeFilePicker.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2005-09-08 23:28:41 $ + * last change: $Author: rt $ $Date: 2005-11-11 11:39:08 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -437,11 +437,17 @@ sal_Int16 SvtFilePicker::implExecutePicker( ) INetURLObject aPath( m_aDisplayDirectory ); if ( m_aDefaultName.getLength() > 0 ) + { aPath.insertName( m_aDefaultName ); + getDialog()->SetHasFilename( true ); + } getDialog()->SetPath( aPath.GetMainURL( INetURLObject::NO_DECODE ) ); } else if ( m_aDefaultName.getLength() > 0 ) + { getDialog()->SetPath( m_aDefaultName ); + getDialog()->SetHasFilename( true ); + } } else { |