diff options
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-curl/DAVRequestEnvironment.hxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-curl/DAVResource.hxx | 3 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-curl/SerfLockStore.cxx | 24 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-curl/SerfLockStore.hxx | 5 |
4 files changed, 1 insertions, 35 deletions
diff --git a/ucb/source/ucp/webdav-curl/DAVRequestEnvironment.hxx b/ucb/source/ucp/webdav-curl/DAVRequestEnvironment.hxx index ed08c613e7e8..dd2f4f9cf0bc 100644 --- a/ucb/source/ucp/webdav-curl/DAVRequestEnvironment.hxx +++ b/ucb/source/ucp/webdav-curl/DAVRequestEnvironment.hxx @@ -35,12 +35,10 @@ struct DAVRequestEnvironment rtl::Reference< DAVAuthListener > m_xAuthListener; DAVRequestHeaders m_aRequestHeaders; -DAVRequestEnvironment( const rtl::Reference< DAVAuthListener > & xListener, + DAVRequestEnvironment( const rtl::Reference< DAVAuthListener > & xListener, const DAVRequestHeaders & rRequestHeaders) : m_xAuthListener( xListener ), m_aRequestHeaders( rRequestHeaders ) {} - - DAVRequestEnvironment() {} }; } // namespace http_dav_ucp diff --git a/ucb/source/ucp/webdav-curl/DAVResource.hxx b/ucb/source/ucp/webdav-curl/DAVResource.hxx index 4b031f0a2a57..93cdd743f194 100644 --- a/ucb/source/ucp/webdav-curl/DAVResource.hxx +++ b/ucb/source/ucp/webdav-curl/DAVResource.hxx @@ -41,9 +41,6 @@ struct DAVResource { OUString uri; std::vector< DAVPropertyValue > properties; - - DAVResource() {} - explicit DAVResource( const OUString & inUri ) : uri( inUri ) {} }; struct DAVResourceInfo diff --git a/ucb/source/ucp/webdav-curl/SerfLockStore.cxx b/ucb/source/ucp/webdav-curl/SerfLockStore.cxx index 3601d0c66642..932fb5262411 100644 --- a/ucb/source/ucp/webdav-curl/SerfLockStore.cxx +++ b/ucb/source/ucp/webdav-curl/SerfLockStore.cxx @@ -104,11 +104,6 @@ SerfLockStore::~SerfLockStore() } } -bool SerfLockStore::finishing() const -{ - return m_bFinishing; -} - void SerfLockStore::startTicker() { osl::MutexGuard aGuard( m_aMutex ); @@ -193,25 +188,6 @@ void SerfLockStore::addLock( const OUString& rURI, } -void SerfLockStore::updateLock( const OUString& rURI, - sal_Int32 nLastChanceToSendRefreshRequest ) -{ - assert(rURI.startsWith("http://") || rURI.startsWith("https://")); - - osl::MutexGuard aGuard( m_aMutex ); - - LockInfoMap::iterator const it(m_aLockInfoMap.find(rURI)); - SAL_WARN_IF( it == m_aLockInfoMap.end(), "ucb.ucp.webdav", - "SerfLockStore::updateLock: lock not found!" ); - - if ( it != m_aLockInfoMap.end() ) - { - (*it).second.m_nLastChanceToSendRefreshRequest - = nLastChanceToSendRefreshRequest; - } -} - - void SerfLockStore::removeLock(const OUString& rURI) { assert(rURI.startsWith("http://") || rURI.startsWith("https://")); diff --git a/ucb/source/ucp/webdav-curl/SerfLockStore.hxx b/ucb/source/ucp/webdav-curl/SerfLockStore.hxx index fc0ed6120532..7e0757004c41 100644 --- a/ucb/source/ucp/webdav-curl/SerfLockStore.hxx +++ b/ucb/source/ucp/webdav-curl/SerfLockStore.hxx @@ -67,8 +67,6 @@ public: SerfLockStore(); ~SerfLockStore(); - bool finishing() const; - OUString const* getLockTokenForURI(OUString const& rURI, css::ucb::Lock const* pLock); void addLock( const OUString& rURI, @@ -79,9 +77,6 @@ public: // -1: infinite lock, no refresh sal_Int32 nLastChanceToSendRefreshRequest ); - void updateLock( const OUString& rURI, - sal_Int32 nLastChanceToSendRefreshRequest ); - void removeLock(const OUString& rURI); void refreshLocks(); |