summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-04-18 18:50:22 +0200
committerAndras Timar <atimar@suse.com>2012-04-18 18:51:11 +0200
commit8c1f7d99f27fe6ec6aadd58d4350d8406ccb7e14 (patch)
treea9ea106d667e2d57db388a8f6dfd563340d350bd /l10ntools
parentd85b7f1548cbf0091812fcec1f9a37e1220de4a9 (diff)
in debug message print the filename that caused the error
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/helpmerge.cxx7
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();