diff options
Diffstat (limited to 'ucb/source/ucp/webdav-curl/SerfLockStore.cxx')
-rw-r--r-- | ucb/source/ucp/webdav-curl/SerfLockStore.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav-curl/SerfLockStore.cxx b/ucb/source/ucp/webdav-curl/SerfLockStore.cxx index 0de397986f8f..3601d0c66642 100644 --- a/ucb/source/ucp/webdav-curl/SerfLockStore.cxx +++ b/ucb/source/ucp/webdav-curl/SerfLockStore.cxx @@ -168,7 +168,10 @@ SerfLockStore::getLockTokenForURI(OUString const& rURI, css::ucb::Lock const*con { return nullptr; } - assert(it->second.m_Lock.Owner == pLock->Owner); // only own locks expected + // Only own locks are expected in the lock store, but depending on the + // server it->second.m_Lock.Owner may contain the string this UCP passed in + // the LOCK request, or a user identifier generated by the server (happens + // with Sharepoint), so just ignore it here. // ignore Timeout ? return &it->second.m_sToken; } |