diff options
Diffstat (limited to 'ucb/source/ucp/webdav-neon/webdavcontent.cxx')
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index 1937c73c1ca8..a2921283b9c3 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -1595,7 +1595,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues( if ( aDAVOptions.getHttpResponseStatusCode() != SC_GONE && !aDAVOptions.isHeadAllowed() ) { - throw DAVException( DAVException::DAV_HTTP_ERROR, "405 Not Implemented", 405 ); + throw DAVException( DAVException::DAV_HTTP_ERROR, "405 Not Implemented", SC_METHOD_NOT_ALLOWED ); } // if HEAD is enabled on this site // check if there is a relevant HTTP response status code cached @@ -1680,8 +1680,8 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues( aLastException.getStatus(); aDAVOptionsException.setHttpResponseStatusCode( ResponseStatusCode ); aDAVOptionsException.setHttpResponseStatusText( aLastException.getData() ); - aStaticDAVOptionsCache.updateCachedOption( aDAVOptionsException, - m_nOptsCacheLifeNotFound ); + aStaticDAVOptionsCache.addDAVOptions( aDAVOptionsException, + m_nOptsCacheLifeNotFound ); if ( !shouldAccessNetworkAfterException( aLastException ) ) { |