summaryrefslogtreecommitdiff
path: root/l10ntools/source/helpmerge.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/helpmerge.cxx')
-rw-r--r--l10ntools/source/helpmerge.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/source/helpmerge.cxx b/l10ntools/source/helpmerge.cxx
index 8fed8ffcb452..460acb50b253 100644
--- a/l10ntools/source/helpmerge.cxx
+++ b/l10ntools/source/helpmerge.cxx
@@ -148,13 +148,13 @@ bool HelpParser::Merge( const OString &rDestinationFile,
//TODO: explicit BOM handling?
- std::unique_ptr<XMLFile> xmlfile(new XMLFile( OString('0') ));
- if (!aParser.Execute( sHelpFile, xmlfile.get()))
+ XMLFile xmlfile( OString('0') );
+ if (!aParser.Execute( sHelpFile, &xmlfile))
{
SAL_WARN("l10ntools", "could not parse " << sHelpFile);
return false;
}
- MergeSingleFile( xmlfile.get() , pMergeDataFile , rLanguage , rDestinationFile );
+ MergeSingleFile( &xmlfile , pMergeDataFile , rLanguage , rDestinationFile );
return true;
}