summaryrefslogtreecommitdiffstats
path: root/idlc/source/options.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/options.cxx')
-rw-r--r--idlc/source/options.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/idlc/source/options.cxx b/idlc/source/options.cxx
index 1ae892471ac3..58908c9f38ad 100644
--- a/idlc/source/options.cxx
+++ b/idlc/source/options.cxx
@@ -24,8 +24,9 @@
#include <rtl/string.hxx>
#include <rtl/strbuf.hxx>
-#include "rtl/ustring.hxx"
-#include "osl/file.hxx"
+#include <rtl/ustring.hxx>
+#include <osl/file.hxx>
+#include <o3tl/char16_t2wchar_t.hxx>
#ifdef _WIN32
# if !defined WIN32_LEAN_AND_MEAN
@@ -192,7 +193,7 @@ OString convertIncPathtoShortWindowsPath(const OString& incPath) {
std::vector<sal_Unicode> vec(path.getLength() + 1);
//GetShortPathNameW only works if the file can be found!
const DWORD len = GetShortPathNameW(
- SAL_W(path.getStr()), SAL_W(&vec[0]), path.getLength() + 1);
+ o3tl::toW(path.getStr()), o3tl::toW(&vec[0]), path.getLength() + 1);
if (len > 0)
{