summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-02-28 15:26:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-02-28 15:26:37 +0100
commitf24011374972992e1d5b5eca48597d00f3df3700 (patch)
tree7ea92d9025b5b1663940b36b98e8ded224eb8c66 /l10ntools
parent15cf249967a56e1d6b28b659c00e201161f2e98f (diff)
Better error message
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/helpmerge.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/l10ntools/source/helpmerge.cxx b/l10ntools/source/helpmerge.cxx
index a682bfb19124..6dab36ae7be7 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();