jl164 #i109096# make patch::native_file_string_w windows only

This commit is contained in:
Joachim Lingner 2011-03-02 16:45:19 +01:00
parent 836a9c057b
commit 3de320a3c3

3
l10ntools/source/help/HelpCompiler.hxx Normal file → Executable file
View file

@ -102,13 +102,14 @@ namespace fs
HCDBG(std::cerr << "native_file_string is " << tmp.getStr() << std::endl);
return std::string(tmp.getStr());
}
#ifdef WNT
wchar_t const * native_file_string_w() const
{
::rtl::OUString ustrSystemPath;
osl::File::getSystemPathFromFileURL(data, ustrSystemPath);
return ustrSystemPath.getStr();
}
#endif
std::string native_directory_string() const { return native_file_string(); }
std::string toUTF8() const
{