l10ntools/source/helpmerge.cxx |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit f24011374972992e1d5b5eca48597d00f3df3700
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Tue Feb 28 15:26:37 2012 +0100

    Better error message

diff --git a/l10ntools/source/helpmerge.cxx b/l10ntools/source/helpmerge.cxx
index a682bfb..6dab36a 100644
--- a/l10ntools/source/helpmerge.cxx
+++ b/l10ntools/source/helpmerge.cxx
@@ -97,7 +97,12 @@ bool HelpParser::CreateSDF(
 
     if(file.get() == NULL)
     {
-        printf("%s\n", rtl::OUStringToOString(aParser.GetError().sMessage, 
RTL_TEXTENCODING_ASCII_US).getStr());
+        printf(
+            "%s: %s\n",
+            sHelpFile.getStr(),
+            (rtl::OUStringToOString(
+                aParser.GetError().sMessage, RTL_TEXTENCODING_ASCII_US).
+             getStr()));
         exit(-1);
     }
     file->Extract();
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to