summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/dlgass.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-11-05 13:34:48 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-11-05 13:34:48 +0000
commitae06e570b7fa9ffc7c9fe04b0a217d63135601ea (patch)
treeb856289ffe9a4d6a38f8eeaed9478e0d45079906 /sd/source/ui/dlg/dlgass.cxx
parente36f5aee4f28060a97495df4605411a5d3b074fa (diff)
INTEGRATION: CWS geordi2q08 (1.23.26); FILE MERGED
2003/11/05 10:59:43 rt 1.23.26.1: #111934#: join CWS mercury01
Diffstat (limited to 'sd/source/ui/dlg/dlgass.cxx')
-rw-r--r--sd/source/ui/dlg/dlgass.cxx8
1 files changed, 5 insertions, 3 deletions
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;