summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/guisaveas.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-11-17 07:25:31 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-11-17 07:25:31 +0000
commit79bb91b0e36147a21a264a90b45b80984e242b11 (patch)
treecf0737e9fbf48ce1663b2df6b563509a20d02325 /sfx2/source/doc/guisaveas.cxx
parentb094b9697744a762204bcaaf1f0b2994db66d35d (diff)
INTEGRATION: CWS os41 (1.2.64); FILE MERGED
2004/11/05 07:21:52 pb 1.2.64.1: fix: #i36524# aLastName must be an URL
Diffstat (limited to 'sfx2/source/doc/guisaveas.cxx')
-rw-r--r--sfx2/source/doc/guisaveas.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index 7cca8d8ec8..0674c7f502 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: guisaveas.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2004-11-09 15:13:13 $
+ * last change: $Author: rt $ $Date: 2004-11-17 08:25:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -789,10 +789,16 @@ sal_Bool ModelData_Impl::OutputFileDialog( sal_Int8 nStoreMode,
&& !GetMediaDescr().getUnpackedValueOrDefault( ::rtl::OUString::createFromAscii( "RepairPackage" ),
sal_False ) )
{
+ // --> PB 2004-11-05 #i36524# - aLastName must be an URL, not only a filename
+ /*
::rtl::OUString aLastName = INetURLObject( GetStorable()->getLocation() ).getName(
INetURLObject::LAST_SEGMENT,
sal_True,
INetURLObject::DECODE_WITH_CHARSET);
+ */
+ ::rtl::OUString aLastName = GetStorable()->getLocation();
+ // <--
+
if ( !aLastName.getLength() )
aLastName = GetDocProps().getUnpackedValueOrDefault(
::rtl::OUString::createFromAscii( "Title" ),