diff options
Diffstat (limited to 'sal/osl/w32/socket.cxx')
-rw-r--r-- | sal/osl/w32/socket.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/socket.cxx b/sal/osl/w32/socket.cxx index 52f6738e8205..f1c46e8f2568 100644 --- a/sal/osl/w32/socket.cxx +++ b/sal/osl/w32/socket.cxx @@ -651,7 +651,7 @@ oslSocketResult SAL_CALL osl_getLocalHostname (rtl_uString **strLocalHostname) if (rtl_ustr_getLength(LocalHostname) > 0) { - return {osl_Socket_Ok, LocalHostname}; + return {osl_Socket_Ok, OUString(LocalHostname)}; } return {osl_Socket_Error, OUString()}; |