diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx index fca9b15609e0..3a19e774b17a 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.cxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx @@ -1636,6 +1636,8 @@ bool NeonSession::LOCK( NeonLock * pLock, = lastChanceToSendRefreshRequest( startCall, pLock->timeout ); SAL_INFO( "ucb.ucp.webdav", "LOCK (refresh) - Lock successfully refreshed." ); + pLock->timeout = timeout; + return true; } else { @@ -1652,8 +1654,6 @@ bool NeonSession::LOCK( NeonLock * pLock, } return false; } - pLock->timeout = timeout; - return theRetVal; } void NeonSession::UNLOCK( const OUString & inPath,