summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-22 19:19:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-22 19:28:07 +0100
commita62a139c4f33b4e981851dac961cfc41f23f896f (patch)
tree2769be51f81f19bf153f9e160c4be6e07a1a45bb /svtools
parent38d9e38981a8ade60bb627b00197ecd28fb9158e (diff)
loplugin:unusedmethods
Change-Id: Iad97bdbcbec4cbbccf3df9b9d682e744b0c1982e Reviewed-on: https://gerrit.libreoffice.org/85709 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/inettbc.cxx33
-rw-r--r--svtools/source/control/valueset.cxx21
2 files changed, 0 insertions, 54 deletions
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx
index 0677c1f59292..d4bc9cee92be 100644
--- a/svtools/source/control/inettbc.cxx
+++ b/svtools/source/control/inettbc.cxx
@@ -1382,16 +1382,6 @@ SvtURLBox::SvtURLBox( vcl::Window* pParent, INetProtocol eSmart, bool bSetDefaul
}
-SvtURLBox::SvtURLBox( vcl::Window* pParent, WinBits _nStyle, INetProtocol eSmart,
- bool bSetDefaultHelpID )
- : ComboBox( pParent, _nStyle ),
- eSmartProtocol( eSmart ),
- bAutoCompleteMode( false ),
- bHistoryDisabled( false )
-{
- Init(bSetDefaultHelpID);
-}
-
void SvtURLBox::Init(bool bSetDefaultHelpID)
{
pImpl.reset( new SvtURLBox_Impl );
@@ -1425,23 +1415,6 @@ void SvtURLBox::dispose()
ComboBox::dispose();
}
-void SvtURLBox::UpdatePickList( )
-{
- if( pCtx.is() )
- {
- pCtx->Stop();
- pCtx->join();
- pCtx.clear();
- }
-
- OUString sText = GetText();
- if ( !sText.isEmpty() )
- {
- pCtx = new SvtMatchContext_Impl( this, sText );
- pCtx->launch();
- }
-}
-
void SvtURLBox::UpdatePicklistForSmartProtocol_Impl()
{
Clear();
@@ -1706,12 +1679,6 @@ OUString SvtURLBox::GetURL()
return aObj.GetMainURL( INetURLObject::DecodeMechanism::NONE );
}
-void SvtURLBox::DisableHistory()
-{
- bHistoryDisabled = true;
- UpdatePicklistForSmartProtocol_Impl();
-}
-
/** Parse leading ~ for Unix systems,
does nothing for Windows
*/
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index e190593f7914..d375577ee778 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -1715,27 +1715,6 @@ void ValueSet::SetItemHeight( long nNewItemHeight )
}
}
-/**
- * An inelegant method; sets the item width & height such that
- * all of the included items and their labels fit; if we can
- * calculate that.
- */
-void ValueSet::RecalculateItemSizes()
-{
- Size aLargestItem = GetLargestItemSize();
-
- if ( mnUserItemWidth != aLargestItem.Width() ||
- mnUserItemHeight != aLargestItem.Height() )
- {
- mnUserItemWidth = aLargestItem.Width();
- mnUserItemHeight = aLargestItem.Height();
- mbFormat = true;
- queue_resize();
- if ( IsReallyVisible() && IsUpdateMode() )
- Invalidate();
- }
-}
-
void ValueSet::SelectItem( sal_uInt16 nItemId )
{
size_t nItemPos = 0;