diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/file_url.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx index 2e9bbc013233..a8d1644b7daa 100644 --- a/sal/osl/w32/file_url.cxx +++ b/sal/osl/w32/file_url.cxx @@ -23,6 +23,7 @@ #include <algorithm> #include <optional> #include <stack> +#include <string_view> #include <systools/win32/uwinapi.h> @@ -723,7 +724,7 @@ static std::optional<OUString> osl_decodeURL_(const OString& sUTF8) : std::optional<OUString>(); } -static OUString osl_encodeURL_(const OUString& sURL) +static OUString osl_encodeURL_(std::u16string_view sURL) { /* Encode non ascii characters within the URL */ |