diff options
Diffstat (limited to 'cppuhelper/source/bootstrap.cxx')
-rw-r--r-- | cppuhelper/source/bootstrap.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cppuhelper/source/bootstrap.cxx b/cppuhelper/source/bootstrap.cxx index 923d0e925795..c16d90681ab4 100644 --- a/cppuhelper/source/bootstrap.cxx +++ b/cppuhelper/source/bootstrap.cxx @@ -31,6 +31,7 @@ #include <osl/file.hxx> #include <osl/security.hxx> #include <osl/thread.hxx> +#include <o3tl/char16_t2wchar_t.hxx> #include <cppuhelper/bootstrap.hxx> #include <cppuhelper/findsofficepath.h> @@ -94,7 +95,7 @@ Reference< XComponentContext > SAL_CALL bootstrap() } rtl::OUString p2; #if defined(_WIN32) - p2 = SAL_U(p1); + p2 = o3tl::toU(p1); free(p1); #else bool bOk = rtl_convertStringToUString( |