diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-12-12 13:49:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-12-13 18:09:16 +0100 |
commit | 6ba9e3323da5ddc588754d00b2468fe3f9708328 (patch) | |
tree | 2dfbb7bb14c84ff98f5334a504c76c2d2fc29bb8 /dbaccess | |
parent | 92691a5b0afa149495615d7b269e74569b798944 (diff) |
loplugin:unusedfields
The sPassword field in SvtHistoryOptions became redundant
after
commit c0fffdc36df687fe8e4eff49e5a00d3a3c1eb370
Author: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Date: Mon Oct 2 12:35:21 2023 +0200
[API CHANGE] Remove deprecated Password config item
Change-Id: Ie0c4597da5cd510f405400c215110c1e357cb497
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160615
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/control/opendoccontrols.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/dbaccess/source/ui/control/opendoccontrols.cxx b/dbaccess/source/ui/control/opendoccontrols.cxx index 2fb86bdca691..3847df5f54d0 100644 --- a/dbaccess/source/ui/control/opendoccontrols.cxx +++ b/dbaccess/source/ui/control/opendoccontrols.cxx @@ -143,7 +143,6 @@ namespace dbaui OUString sURL = rHistoryItem.sURL; OUString sFilter = rHistoryItem.sFilter; OUString sTitle = rHistoryItem.sTitle; - OUString sPassword = rHistoryItem.sPassword; // If the entry is a Base file then insert it into the // history list and the list box. @@ -158,9 +157,6 @@ namespace dbaui // yes, it's a Base document INetURLObject aURL; aURL.SetSmartURL( sURL ); - // The password is set only when it is not empty. - if ( !sPassword.isEmpty() ) - aURL.SetPass( sPassword ); if ( sTitle.isEmpty() ) sTitle = aURL.getBase( INetURLObject::LAST_SEGMENT, true, INetURLObject::DecodeMechanism::Unambiguous ); |