summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-28 08:39:57 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-30 06:23:00 +0000
commita45827b2308febc7369db27fb489a6d1389534e1 (patch)
tree0b697341738010da35bd0a6a6189ef6761e5db0a /ucb
parent2387c2a46e15995686d28dccdfd455012072b4cf (diff)
loplugin:unusedmethods
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav-neon/NeonLockStore.cxx16
-rw-r--r--ucb/source/ucp/webdav-neon/NeonLockStore.hxx3
2 files changed, 0 insertions, 19 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonLockStore.cxx b/ucb/source/ucp/webdav-neon/NeonLockStore.cxx
index df90a253cef7..61efe8455a26 100644
--- a/ucb/source/ucp/webdav-neon/NeonLockStore.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonLockStore.cxx
@@ -178,22 +178,6 @@ void NeonLockStore::addLock( NeonLock * pLock,
startTicker();
}
-void NeonLockStore::updateLock( NeonLock * pLock,
- sal_Int32 nLastChanceToSendRefreshRequest )
-{
- osl::MutexGuard aGuard( m_aMutex );
-
- LockInfoMap::iterator it( m_aLockInfoMap.find( pLock ) );
- OSL_ENSURE( it != m_aLockInfoMap.end(),
- "NeonLockStore::updateLock: lock not found!" );
-
- if ( it != m_aLockInfoMap.end() )
- {
- (*it).second.nLastChanceToSendRefreshRequest
- = nLastChanceToSendRefreshRequest;
- }
-}
-
void NeonLockStore::removeLock( NeonLock * pLock )
{
osl::ClearableMutexGuard aGuard( m_aMutex );
diff --git a/ucb/source/ucp/webdav-neon/NeonLockStore.hxx b/ucb/source/ucp/webdav-neon/NeonLockStore.hxx
index 1006f8ad4bed..d231009e2f2e 100644
--- a/ucb/source/ucp/webdav-neon/NeonLockStore.hxx
+++ b/ucb/source/ucp/webdav-neon/NeonLockStore.hxx
@@ -89,9 +89,6 @@ public:
// -1: infinite lock, no refresh
sal_Int32 nLastChanceToSendRefreshRequest );
- void updateLock( NeonLock * pLock,
- sal_Int32 nLastChanceToSendRefreshRequest );
-
void removeLock( NeonLock * pLock );
void refreshLocks();