diff options
author | Joachim Lingner <jl@openoffice.org> | 2011-03-02 16:45:19 +0100 |
---|---|---|
committer | Joachim Lingner <jl@openoffice.org> | 2011-03-02 16:45:19 +0100 |
commit | 3de320a3c332ace5bbe9adc9fa3a5960104e365b (patch) | |
tree | 5a696df1519d694c1a4e653f415a4581e091dbe2 /l10ntools | |
parent | 836a9c057b71dfea52524e2387a2cc0a73479660 (diff) |
jl164 #i109096# make patch::native_file_string_w windows only
Diffstat (limited to 'l10ntools')
-rwxr-xr-x[-rw-r--r--] | l10ntools/source/help/HelpCompiler.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/l10ntools/source/help/HelpCompiler.hxx b/l10ntools/source/help/HelpCompiler.hxx index 3426f914d2e6..8ce6098d21a9 100644..100755 --- a/l10ntools/source/help/HelpCompiler.hxx +++ b/l10ntools/source/help/HelpCompiler.hxx @@ -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 { |