[Libreoffice-commits] .: l10ntools/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Tue Feb 28 06:26:43 PST 2012
l10ntools/source/helpmerge.cxx | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
New commits:
commit f24011374972992e1d5b5eca48597d00f3df3700
Author: Stephan Bergmann <sbergman at 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();
More information about the Libreoffice-commits
mailing list