diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-07 09:08:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-07 09:01:00 +0100 |
commit | 162f85283699692c5adf07e5b292979688bded93 (patch) | |
tree | b0aaebec113e69770b861d39b06ff64af4b278b0 /svtools | |
parent | 1129c848b360bd76174c941bb8fd98bfa5b9119c (diff) |
loplugin:unusedmethods
Change-Id: I65354c7476dfaede1a607441d7c1b0c7ad038df4
Reviewed-on: https://gerrit.libreoffice.org/82186
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/inettbc.cxx | 25 | ||||
-rw-r--r-- | svtools/source/misc/imagemgr.cxx | 17 |
2 files changed, 0 insertions, 42 deletions
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index 27fb78651e3a..beec4c1d6d3e 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -1664,20 +1664,6 @@ void SvtURLBox::Select() } -void SvtURLBox::SetOnlyDirectories( bool bDir ) -{ - bOnlyDirectories = bDir; - if ( bOnlyDirectories ) - Clear(); -} - - -void SvtURLBox::SetNoURLSelection( bool bSet ) -{ - bNoSelection = bSet; -} - - OUString SvtURLBox::GetURL() { // wait for end of autocompletion @@ -1762,17 +1748,6 @@ void SvtURLBox::DisableHistory() UpdatePicklistForSmartProtocol_Impl(); } -void SvtURLBox::SetBaseURL( const OUString& rURL ) -{ - ::osl::MutexGuard aGuard( theSvtMatchContextMutex::get() ); - - // Reset match lists - pImpl->aCompletions.clear(); - pImpl->aURLs.clear(); - - aBaseURL = rURL; -} - /** Parse leading ~ for Unix systems, does nothing for Windows */ diff --git a/svtools/source/misc/imagemgr.cxx b/svtools/source/misc/imagemgr.cxx index 32edd99987cc..5fc3456d0bbd 100644 --- a/svtools/source/misc/imagemgr.cxx +++ b/svtools/source/misc/imagemgr.cxx @@ -805,23 +805,6 @@ OUString SvFileInformationManager::GetFolderImageId( const svtools::VolumeInfo& return GetImageNameFromList_Impl(nImage, false/*bBig*/); } -Image SvFileInformationManager::GetFolderImage( const svtools::VolumeInfo& rInfo ) -{ - SvImageId nImage = SvImageId::Folder; - DBG_ASSERT( nImage != SvImageId::NONE, "invalid ImageId" ); - - if ( rInfo.m_bIsRemote ) - nImage = SvImageId::NetworkDevice; - else if ( rInfo.m_bIsCompactDisc ) - nImage = SvImageId::CDRomDevice; - else if ( rInfo.m_bIsRemoveable || rInfo.m_bIsFloppy ) - nImage = SvImageId::RemoveableDevice; - else if ( rInfo.m_bIsVolume ) - nImage = SvImageId::FixedDevice; - - return GetImageFromList_Impl( nImage, false/*bBig*/ ); -} - OUString SvFileInformationManager::GetDescription( const INetURLObject& rObject ) { return SvFileInformationManager::GetDescription_Impl( rObject, true ); |