From 8c1f7d99f27fe6ec6aadd58d4350d8406ccb7e14 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Wed, 18 Apr 2012 18:50:22 +0200 Subject: [PATCH] in debug message print the filename that caused the error --- l10ntools/source/helpmerge.cxx | 7 +++++-- 1 file 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();