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 | ab1512daaff3f0abadfee083c64feb474c5e90a8 (patch) | |
tree | 62e20c9a79453f8979b8f5b045a4a58163cdbb31 /fpicker/source | |
parent | d86e8ebcb4b97e52a9e890177acdbfbc486370b2 (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/source')
-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 037855dd68..433dde7260 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 { |