diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-06-24 16:22:51 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-06-24 16:33:24 +0200 |
commit | 956d088db5850e9a096bb9abd8b3e446e096f613 (patch) | |
tree | 6985dcc01e3b90bd02c15e37202e625817505e17 /ucb/source/ucp/webdav/SerfSession.cxx | |
parent | 46b6721c030edc2c73600225c03e04125a0a911a (diff) |
fdo#72157: webdav: Release WebDAV file lock on document close.
Make it work with both serf and neon version.
Change-Id: I3c74ba57cde19f4417d0229c1c809756e3c5f9f8
Diffstat (limited to 'ucb/source/ucp/webdav/SerfSession.cxx')
-rw-r--r-- | ucb/source/ucp/webdav/SerfSession.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ucb/source/ucp/webdav/SerfSession.cxx b/ucb/source/ucp/webdav/SerfSession.cxx index eea964434b09..a33b0a95e2c7 100644 --- a/ucb/source/ucp/webdav/SerfSession.cxx +++ b/ucb/source/ucp/webdav/SerfSession.cxx @@ -1103,6 +1103,7 @@ void SerfSession::UNLOCK( const OUString & inPath, { HandleError( aReqProc ); SAL_INFO("ucb.ucp.webdav", "UNLOCK of " << inPath << " succeeded." ); + apr_environment::AprEnv::getAprEnv()->getSerfLockStore()->removeLock( inPath ); } catch(...) { |