diff options
author | Andras Timar <atimar@suse.com> | 2012-02-28 15:11:22 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-02-28 15:13:16 +0100 |
commit | 249dea425a1b8660197af53ab8a56268fddf8ce6 (patch) | |
tree | 8fadd149eea889ffbb1ca694ed3a532c369b9952 /l10ntools | |
parent | Remove unused code in BiffInputStream. (diff) | |
download | core-249dea425a1b8660197af53ab8a56268fddf8ce6.tar.gz core-249dea425a1b8660197af53ab8a56268fddf8ce6.zip |
Prevent crash of helpex.exe
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/helpmerge.cxx | 2 |
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++ ){ |