ucb/source/ucp/webdav-curl/CurlSession.cxx | 8 -------- ucb/source/ucp/webdav-curl/CurlSession.hxx | 3 --- ucb/source/ucp/webdav-curl/DAVSession.hxx | 6 ------ 3 files changed, 17 deletions(-)
New commits: commit 24adc72f80e1fe33654be103097271eda623f551 Author: Michael Stahl <michael.st...@allotropia.de> AuthorDate: Thu Oct 7 12:13:02 2021 +0200 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Mon Nov 1 18:24:50 2021 +0100 ucb: webdav-curl: remove unused LOCK() overload Removed from neon in commit 9d7727737b067c5228f129737046f718d5965659 Change-Id: I1df14d8e05e50a6a0ce7af4f6079f11be6628903 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123225 Tested-by: Michael Stahl <michael.st...@allotropia.de> Reviewed-by: Michael Stahl <michael.st...@allotropia.de> diff --git a/ucb/source/ucp/webdav-curl/CurlSession.cxx b/ucb/source/ucp/webdav-curl/CurlSession.cxx index 6916adfa5383..8ac493ce3afb 100644 --- a/ucb/source/ucp/webdav-curl/CurlSession.cxx +++ b/ucb/source/ucp/webdav-curl/CurlSession.cxx @@ -1915,14 +1915,6 @@ auto CurlProcessor::Unlock(CurlSession& rSession, OUString const& rURIReference, nullptr, nullptr); } -auto CurlSession::LOCK(OUString const& /*rURIReference*/, sal_Int64 const /*nTimeout*/, - DAVRequestEnvironment const & /*rEnv*/) -> sal_Int64 -{ - // FIXME unused? - assert(false); - return 1234567890; -} - auto CurlSession::UNLOCK(OUString const& rURIReference, DAVRequestEnvironment const& rEnv) -> void { SAL_INFO("ucb.ucp.webdav.curl", "UNLOCK: " << rURIReference); diff --git a/ucb/source/ucp/webdav-curl/CurlSession.hxx b/ucb/source/ucp/webdav-curl/CurlSession.hxx index e7e566c0fe99..6316a2ab47cc 100644 --- a/ucb/source/ucp/webdav-curl/CurlSession.hxx +++ b/ucb/source/ucp/webdav-curl/CurlSession.hxx @@ -119,9 +119,6 @@ public: virtual auto LOCK(OUString const& rURIReference, css::ucb::Lock /*const*/& rLock, DAVRequestEnvironment const& rEnv) -> void override; - virtual auto LOCK(OUString const& rURIReference, sal_Int64 nTimeout, - DAVRequestEnvironment const& rEnv) -> sal_Int64 override; - virtual auto UNLOCK(OUString const& rURIReference, DAVRequestEnvironment const& rEnv) -> void override; diff --git a/ucb/source/ucp/webdav-curl/DAVSession.hxx b/ucb/source/ucp/webdav-curl/DAVSession.hxx index 88a41ab3153f..c3caea7be6f2 100644 --- a/ucb/source/ucp/webdav-curl/DAVSession.hxx +++ b/ucb/source/ucp/webdav-curl/DAVSession.hxx @@ -173,12 +173,6 @@ public: css::ucb::Lock & inLock, const DAVRequestEnvironment & rEnv ) = 0; - // refresh existing lock. - /// @throws DAVException - virtual sal_Int64 LOCK( const OUString & inPath, - sal_Int64 nTimeout, - const DAVRequestEnvironment & rEnv ) = 0; - /// @throws DAVException virtual void UNLOCK( const OUString & inPath, const DAVRequestEnvironment & rEnv ) = 0;