diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-09 15:28:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-10 08:44:23 +0200 |
commit | d913b7d2d8f5d8caf69b80274c58d7e27d207a0d (patch) | |
tree | 84184fcafcb017dcf983cddb3f1f81661f891977 /svtools | |
parent | 3edfbb0885f8f9b18074d42e16539436077631ef (diff) |
loplugin:unusedmethods
Change-Id: I6f976ba8f792d2cee34859e9258798351eed8b1d
Reviewed-on: https://gerrit.libreoffice.org/52636
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/inettbc.cxx | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index a1b3d744748d..a8cb237c19a8 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -2056,31 +2056,6 @@ URLBox::~URLBox() } } -void URLBox::UpdatePickList( ) -{ - if (pCtx.is()) - { - pCtx->Stop(); - pCtx->join(); - pCtx.clear(); - } - OUString sText = m_xWidget->get_active_text(); - if (!sText.isEmpty()) - { - pCtx = new MatchContext_Impl( this, sText ); - pCtx->launch(); - } -} - -void URLBox::SetSmartProtocol( INetProtocol eProt ) -{ - if ( eSmartProtocol != eProt ) - { - eSmartProtocol = eProt; - UpdatePicklistForSmartProtocol_Impl(); - } -} - void URLBox::UpdatePicklistForSmartProtocol_Impl() { m_xWidget->clear(); @@ -2165,13 +2140,6 @@ IMPL_LINK_NOARG(URLBox, FocusOutHdl, weld::Widget&, void) } } -void URLBox::SetOnlyDirectories( bool bDir ) -{ - bOnlyDirectories = bDir; - if (bOnlyDirectories) - m_xWidget->clear(); -} - OUString URLBox::GetURL() { // wait for end of autocompletion @@ -2250,28 +2218,4 @@ OUString URLBox::GetURL() return aObj.GetMainURL( INetURLObject::DecodeMechanism::NONE ); } -void URLBox::DisableHistory() -{ - bHistoryDisabled = true; - UpdatePicklistForSmartProtocol_Impl(); -} - -void URLBox::SetBaseURL( const OUString& rURL ) -{ - ::osl::MutexGuard aGuard( theSvtMatchContextMutex::get() ); - - // Reset match lists - pImpl->aCompletions.clear(); - pImpl->aURLs.clear(); - - aBaseURL = rURL; -} - -void URLBox::SetFilter(const OUString& _sFilter) -{ - pImpl->m_aFilters.clear(); - FilterMatch::createWildCardFilterList(_sFilter,pImpl->m_aFilters); -} - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |