l10ntools/source/helpmerge.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
New commits: commit 8c1f7d99f27fe6ec6aadd58d4350d8406ccb7e14 Author: Andras Timar <ati...@suse.com> Date: Wed Apr 18 18:50:22 2012 +0200 in debug message print the filename that caused the error diff --git a/l10ntools/source/helpmerge.cxx b/l10ntools/source/helpmerge.cxx index 6dab36a..67db670 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(); _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits