summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav-curl/webdavresponseparser.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav-curl/webdavresponseparser.cxx b/ucb/source/ucp/webdav-curl/webdavresponseparser.cxx
index a236957c096e..41f9a8232748 100644
--- a/ucb/source/ucp/webdav-curl/webdavresponseparser.cxx
+++ b/ucb/source/ucp/webdav-curl/webdavresponseparser.cxx
@@ -36,6 +36,7 @@
#include <rtl/ref.hxx>
#include <rtl/uri.hxx>
#include <sal/log.hxx>
+#include <o3tl/string_view.hxx>
using namespace com::sun::star;
using namespace http_dav_ucp;
@@ -684,7 +685,7 @@ namespace
if (sTimeout == "Infinite")
maLock.Timeout = -1;
else if (sTimeout.startsWith("Second-"))
- maLock.Timeout = sTimeout.copy(7).toInt64();
+ maLock.Timeout = o3tl::toInt64(sTimeout.subView(7));
break;
}
case WebDAVName_locktoken: