diff options
Diffstat (limited to 'l10ntools/source/helpex.cxx')
-rw-r--r-- | l10ntools/source/helpex.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/l10ntools/source/helpex.cxx b/l10ntools/source/helpex.cxx index 95b84c23bc78..3bfacb823025 100644 --- a/l10ntools/source/helpex.cxx +++ b/l10ntools/source/helpex.cxx @@ -120,10 +120,11 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) else { HelpParser aParser( aArgs.m_sInputFile ); + std::unique_ptr<XMLFile> xmlfile(new XMLFile( OString('0') )); hasNoError = HelpParser::CreatePO( aArgs.m_sOutputFile, aArgs.m_sInputFile, - new XMLFile( OString('0') ), "help" ); + xmlfile.get(), "help" ); } } catch (std::exception& e) |