diff options
Diffstat (limited to 'helpcompiler/source')
-rw-r--r-- | helpcompiler/source/HelpLinker.cxx | 4 | ||||
-rw-r--r-- | helpcompiler/source/HelpLinker_main.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx index b272d2c010e5..f7acc30ecc7d 100644 --- a/helpcompiler/source/HelpLinker.cxx +++ b/helpcompiler/source/HelpLinker.cxx @@ -881,8 +881,8 @@ bool compileExtensionHelp xmlSetStructuredErrorFunc( nullptr, StructuredXMLErrorFunction ); try { - std::unique_ptr<HelpLinker> pHelpLinker(new HelpLinker()); - pHelpLinker->main( args, &aStdStrExtensionPath, &aStdStrDestination, &aOfficeHelpPath ); + HelpLinker aHelpLinker; + aHelpLinker.main( args, &aStdStrExtensionPath, &aStdStrDestination, &aOfficeHelpPath ); } catch( const HelpProcessingException& e ) { diff --git a/helpcompiler/source/HelpLinker_main.cxx b/helpcompiler/source/HelpLinker_main.cxx index 5c8fe8807336..75ac9f3d3ba1 100644 --- a/helpcompiler/source/HelpLinker_main.cxx +++ b/helpcompiler/source/HelpLinker_main.cxx @@ -30,8 +30,8 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) args.push_back(std::string(argv[i])); try { - std::unique_ptr<HelpLinker> pHelpLinker(new HelpLinker()); - pHelpLinker->main(args); + HelpLinker aHelpLinker; + aHelpLinker.main(args); } catch (const HelpProcessingException& e) { |