summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--l10ntools/source/helpmerge.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/helpmerge.cxx b/l10ntools/source/helpmerge.cxx
index 4cbf8d553a68..a682bfb19124 100644
--- a/l10ntools/source/helpmerge.cxx
+++ b/l10ntools/source/helpmerge.cxx
@@ -244,7 +244,6 @@ bool HelpParser::Merge(
//TODO: explicit BOM handling?
XMLFile* xmlfile = aParser.Execute( sXmlFile, new XMLFile( rtl::OUString('0') ) );
- xmlfile->Extract();
if( xmlfile == NULL)
{
@@ -252,6 +251,7 @@ bool HelpParser::Merge(
exit(-1);
}
+ xmlfile->Extract();
rtl::OString sCur;
for( unsigned int n = 0; n < aLanguages.size(); n++ ){