summaryrefslogtreecommitdiffstats
path: root/cppuhelper/source/bootstrap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/bootstrap.cxx')
-rw-r--r--cppuhelper/source/bootstrap.cxx3
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(