diff options
Diffstat (limited to 'l10ntools/source/help/HelpLinker.cxx')
-rw-r--r-- | l10ntools/source/help/HelpLinker.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/l10ntools/source/help/HelpLinker.cxx b/l10ntools/source/help/HelpLinker.cxx index a95c56be1b6f..6d150a8f1f4f 100644 --- a/l10ntools/source/help/HelpLinker.cxx +++ b/l10ntools/source/help/HelpLinker.cxx @@ -642,8 +642,11 @@ void HelpLinker::link() throw( HelpProcessingException ) const std::string &additionalFileKey = enumer->first; fs::path fsAdditionalFileName( additionalFileName, fs::native ); - std::string aNativeStr = fsAdditionalFileName.native_file_string(); - HCDBG(const char* pStr = aNativeStr.c_str(); std::cerr << pStr << std::endl); + HCDBG({ + std::string aNativeStr = fsAdditionalFileName.native_file_string(); + const char* pStr = aNativeStr.c_str(); + std::cerr << pStr << std::endl; + }); fs::path fsTargetName( indexDirParentName / additionalFileKey ); |