[Libreoffice-commits] .: l10ntools/source

Andras Timar timar at kemper.freedesktop.org
Wed Apr 18 09:51:10 PDT 2012


 l10ntools/source/helpmerge.cxx |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 8c1f7d99f27fe6ec6aadd58d4350d8406ccb7e14
Author: Andras Timar <atimar at 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();
 


More information about the Libreoffice-commits mailing list