From ae06e570b7fa9ffc7c9fe04b0a217d63135601ea Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Wed, 5 Nov 2003 13:34:48 +0000
Subject: INTEGRATION: CWS geordi2q08 (1.23.26); FILE MERGED 2003/11/05
10:59:43 rt 1.23.26.1: #111934#: join CWS mercury01
---
sd/source/ui/dlg/dlgass.cxx | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
(limited to 'sd/source')
diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx
index c5ae68b08bf1..435cccd713a0 100644
--- a/sd/source/ui/dlg/dlgass.cxx
+++ b/sd/source/ui/dlg/dlgass.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dlgass.cxx,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: rt $ $Date: 2003-09-19 08:16:34 $
+ * last change: $Author: hr $ $Date: 2003-11-05 14:34:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -831,7 +831,9 @@ void AssistentDlgImpl::ScanDocmenu (void)
// yes, it's an impress document
INetURLObject aURL;
aURL.SetSmartURL (sURL);
- aURL.SetPass (sPassword);
+ // The password is set only when it is not empty.
+ if (sPassword.getLength() > 0)
+ aURL.SetPass (sPassword);
m_aOpenFilesList.push_back (new String (aURL.GetMainURL( INetURLObject::NO_DECODE )));
m_pPage1OpenLB->InsertEntry (sTitle);
break;
--
cgit