diff options
Diffstat (limited to 'ucb/source/ucp/webdav-curl/CurlUri.cxx')
-rw-r--r-- | ucb/source/ucp/webdav-curl/CurlUri.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav-curl/CurlUri.cxx b/ucb/source/ucp/webdav-curl/CurlUri.cxx index 4dba6ac221b7..570c7000f204 100644 --- a/ucb/source/ucp/webdav-curl/CurlUri.cxx +++ b/ucb/source/ucp/webdav-curl/CurlUri.cxx @@ -221,7 +221,7 @@ void CurlUri::AppendPath(::std::u16string_view const rPath) path.append("/"); } path.append(rPath); - OString const utf8Path(OUStringToOString(path.makeStringAndClear(), RTL_TEXTENCODING_UTF8)); + OString const utf8Path(OUStringToOString(path, RTL_TEXTENCODING_UTF8)); auto uc = curl_url_set(m_pUrl.get(), CURLUPART_PATH, utf8Path.getStr(), 0); if (uc != CURLUE_OK) { |