diff options
author | Joachim Lingner <jl@openoffice.org> | 2011-03-02 17:23:32 +0100 |
---|---|---|
committer | Joachim Lingner <jl@openoffice.org> | 2011-03-02 17:23:32 +0100 |
commit | 6b907a7f7a788731268b4f612e8d8a9fd053d049 (patch) | |
tree | 7054cd100b5afa3b9299d236ec5ce396e5895298 /l10ntools/source | |
parent | 3de320a3c332ace5bbe9adc9fa3a5960104e365b (diff) |
jl164 #i109096# wrong use of path::native_file_string_w in fopen for Linux
Diffstat (limited to 'l10ntools/source')
-rwxr-xr-x | l10ntools/source/help/HelpLinker.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/help/HelpLinker.cxx b/l10ntools/source/help/HelpLinker.cxx index 2c7fa51657e8..036208520ede 100755 --- a/l10ntools/source/help/HelpLinker.cxx +++ b/l10ntools/source/help/HelpLinker.cxx @@ -242,7 +242,7 @@ public: #ifdef WNT //We need _wfopen to support long file paths on Windows XP FILE* pFile = _wfopen( rFileName.native_file_string_w(), L"wb" ); #else - FILE* pFile = fopen( rFileName.native_file_string_w().c_str(), "wb" ); + FILE* pFile = fopen( rFileName.native_file_string().c_str(), "wb" ); #endif if( pFile == NULL ) return; |