diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-11-05 13:34:48 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-11-05 13:34:48 +0000 |
commit | df7195cf9c6044dd77b21c90cc518ea1f1afa146 (patch) | |
tree | 362f19d597f5fd9f223f9435273e9a9858597a4c /sd | |
parent | d0c28f0de64ee2644c0f35d4bfb88df14279fd12 (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')
-rw-r--r-- | sd/source/ui/dlg/dlgass.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx index b335cbe4c..b815ec03a 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; |