summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav-curl
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/webdav-curl')
-rw-r--r--ucb/source/ucp/webdav-curl/DAVTypes.hxx1
-rw-r--r--ucb/source/ucp/webdav-curl/webdavcontent.cxx17
-rw-r--r--ucb/source/ucp/webdav-curl/webdavcontent.hxx4
3 files changed, 0 insertions, 22 deletions
diff --git a/ucb/source/ucp/webdav-curl/DAVTypes.hxx b/ucb/source/ucp/webdav-curl/DAVTypes.hxx
index be6eedc2d4c0..23cdd9f694d0 100644
--- a/ucb/source/ucp/webdav-curl/DAVTypes.hxx
+++ b/ucb/source/ucp/webdav-curl/DAVTypes.hxx
@@ -118,7 +118,6 @@ namespace http_dav_ucp
void setAllowedMethods( OUString & aAllowedMethods ) { m_aAllowedMethods = aAllowedMethods; } ;
OUString & getAllowedMethods() { return m_aAllowedMethods; } ;
bool isLockAllowed() const { return ( m_aAllowedMethods.indexOf( "LOCK" ) != -1 ); };
- bool isUnlockAllowed() const { return ( m_aAllowedMethods.indexOf( "UNLOCK" ) != -1 ); };
void setLocked( bool locked = true ) { m_isLocked = locked; } ;
bool isLocked() const { return m_isLocked; };
diff --git a/ucb/source/ucp/webdav-curl/webdavcontent.cxx b/ucb/source/ucp/webdav-curl/webdavcontent.cxx
index 99630aff9b9e..331ca1a085e0 100644
--- a/ucb/source/ucp/webdav-curl/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-curl/webdavcontent.cxx
@@ -4012,23 +4012,6 @@ void Content::getResourceOptions(
}
}
-void Content::getResourceOptions(
- const uno::Reference< ucb::XCommandEnvironment >& xEnv,
- DAVOptions& rDAVOptions )
-{
- std::unique_ptr< DAVResourceAccess > xResAccess;
- {
- osl::MutexGuard aGuard( m_aMutex );
- xResAccess.reset( new DAVResourceAccess( *m_xResAccess ) );
- }
- getResourceOptions( xEnv, rDAVOptions, xResAccess );
- {
- osl::Guard< osl::Mutex > aGuard( m_aMutex );
- m_xResAccess.reset( new DAVResourceAccess( *xResAccess ) );
- }
-}
-
-
//static
bool Content::isResourceAvailable( const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv,
const std::unique_ptr< DAVResourceAccess > & rResAccess,
diff --git a/ucb/source/ucp/webdav-curl/webdavcontent.hxx b/ucb/source/ucp/webdav-curl/webdavcontent.hxx
index ea2a9ec38387..6afa65f9e479 100644
--- a/ucb/source/ucp/webdav-curl/webdavcontent.hxx
+++ b/ucb/source/ucp/webdav-curl/webdavcontent.hxx
@@ -291,10 +291,6 @@ public:
DAVOptions& rDAVOptions,
const std::unique_ptr< DAVResourceAccess > & rResAccess );
- /// @throws css::uno::Exception
- void getResourceOptions( const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv,
- DAVOptions& rDAVOptions );
-
static bool isResourceAvailable( const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv,
const std::unique_ptr< DAVResourceAccess > & rResAccess,
DAVOptions& rDAVOptions );