summaryrefslogtreecommitdiff
path: root/svtools/source/control/inettbc.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-13 08:55:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-13 09:07:23 +0100
commit748e354af826f2439982b69ffa99dce68378d1f1 (patch)
treeae772175f7fbfde2eeed56a0e7264f2a33eb340a /svtools/source/control/inettbc.cxx
parentd3ac24bdb5dd4bc70a0b0c217b5e8f503dad8545 (diff)
loplugin:unusedfields
Change-Id: Iaf188bfd43396eeec31e62ac3de3fbc76da4331a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86653 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/control/inettbc.cxx')
-rw-r--r--svtools/source/control/inettbc.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx
index d4bc9cee92be..e9e4317c2719 100644
--- a/svtools/source/control/inettbc.cxx
+++ b/svtools/source/control/inettbc.cxx
@@ -1370,8 +1370,7 @@ void SvtURLBox::TryAutoComplete()
SvtURLBox::SvtURLBox( vcl::Window* pParent, INetProtocol eSmart, bool bSetDefaultHelpID )
: ComboBox( pParent , WB_DROPDOWN | WB_AUTOHSCROLL ),
eSmartProtocol( eSmart ),
- bAutoCompleteMode( false ),
- bHistoryDisabled( false )
+ bAutoCompleteMode( false )
{
Init(bSetDefaultHelpID);
@@ -1418,8 +1417,6 @@ void SvtURLBox::dispose()
void SvtURLBox::UpdatePicklistForSmartProtocol_Impl()
{
Clear();
- if ( bHistoryDisabled )
- return;
// read history pick list
const Sequence< Sequence< PropertyValue > > seqPicklist = SvtHistoryOptions().GetList( ePICKLIST );