diff options
-rw-r--r-- | sal/osl/w32/file_url.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx index a14f8d4b9b39..8942c5ca6e5e 100644 --- a/sal/osl/w32/file_url.cxx +++ b/sal/osl/w32/file_url.cxx @@ -943,7 +943,7 @@ oslFileError SAL_CALL osl_getAbsoluteFileURL( rtl_uString* ustrBaseURL, rtl_uStr else { // Call GetFullPathNameW to get current directory on ustrRelSysPath's drive - wchar_t baseDrive[3] = { ustrRelSysPath[0], ':' }; // just "C:" + wchar_t baseDrive[3] = { ustrRelSysPath[0], ':', 0 }; // just "C:" osl::LongPathBuffer<wchar_t> aBuf(MAX_LONG_PATH); DWORD dwResult = GetFullPathNameW(baseDrive, aBuf.getBufSizeInSymbols(), aBuf, nullptr); |