diff options
author | Andras Timar <atimar@suse.com> | 2012-04-18 18:50:22 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-04-18 18:51:11 +0200 |
commit | 8c1f7d99f27fe6ec6aadd58d4350d8406ccb7e14 (patch) | |
tree | a9ea106d667e2d57db388a8f6dfd563340d350bd /l10ntools | |
parent | d85b7f1548cbf0091812fcec1f9a37e1220de4a9 (diff) |
in debug message print the filename that caused the error
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/helpmerge.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/l10ntools/source/helpmerge.cxx b/l10ntools/source/helpmerge.cxx index 6dab36ae7be7..67db670a7f31 100644 --- a/l10ntools/source/helpmerge.cxx +++ b/l10ntools/source/helpmerge.cxx @@ -178,9 +178,12 @@ bool HelpParser::CreateSDF( if( !data.isEmpty() ) aSDFStream << sOut.getStr() << '\n'; pXMLElement=NULL; - }else fprintf(stdout,"\nDBG: NullPointer in HelpParser::CreateSDF , Language %s\n",sCur.getStr() ); + } + else + { + fprintf(stdout,"\nDBG: NullPointer in HelpParser::CreateSDF, Language %s, File %s\n", sCur.getStr(), sHelpFile.getStr()); + } } - } aSDFStream.close(); |