[Libreoffice-commits] core.git: helpcompiler/inc

Stephan Bergmann sbergman at redhat.com
Tue May 9 12:08:56 UTC 2017


 helpcompiler/inc/HelpCompiler.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 393667119e253d454e9d34eef97f010e69605dac
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 9 14:08:08 2017 +0200

    Clean up uses of SAL_U/SAL_W: helpcompiler
    
    Change-Id: I0b9c7959cae65428ed1e80753e31f3ee9d726fc4

diff --git a/helpcompiler/inc/HelpCompiler.hxx b/helpcompiler/inc/HelpCompiler.hxx
index 56163f5bb5ce..12f6ada7b824 100644
--- a/helpcompiler/inc/HelpCompiler.hxx
+++ b/helpcompiler/inc/HelpCompiler.hxx
@@ -92,7 +92,7 @@ namespace fs
         {
             OUString ustrSystemPath;
             osl::File::getSystemPathFromFileURL(data, ustrSystemPath);
-            return SAL_W(ustrSystemPath.getStr());
+            return reinterpret_cast<wchar_t const *>(ustrSystemPath.getStr());
         }
 #endif
         std::string toUTF8() const


More information about the Libreoffice-commits mailing list