From a989e6436650996d12fe8a01c7894d79bd3c30fc Mon Sep 17 00:00:00 2001 From: tono Date: Tue, 22 Mar 2011 22:20:11 +0900 Subject: mingwport34: i#117493: mingw port of i109096 - WCHAR is not compatible with sal_Unicode in mingw --- l10ntools/source/help/HelpCompiler.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10ntools/source/help/HelpCompiler.hxx b/l10ntools/source/help/HelpCompiler.hxx index 8ce6098d21a9..fa2676c3bac1 100755 --- a/l10ntools/source/help/HelpCompiler.hxx +++ b/l10ntools/source/help/HelpCompiler.hxx @@ -107,7 +107,7 @@ namespace fs { ::rtl::OUString ustrSystemPath; osl::File::getSystemPathFromFileURL(data, ustrSystemPath); - return ustrSystemPath.getStr(); + return reinterpret_cast< wchar_t const * >(ustrSystemPath.getStr()); } #endif std::string native_directory_string() const { return native_file_string(); } -- cgit