jl164 #i109096# make patch::native_file_string_w windows only
This commit is contained in:
parent
836a9c057b
commit
3de320a3c3
1 changed files with 2 additions and 1 deletions
3
l10ntools/source/help/HelpCompiler.hxx
Normal file → Executable file
3
l10ntools/source/help/HelpCompiler.hxx
Normal file → Executable 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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue