summaryrefslogtreecommitdiffstats
path: root/helpcompiler/source/HelpLinker_main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'helpcompiler/source/HelpLinker_main.cxx')
-rw-r--r--helpcompiler/source/HelpLinker_main.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/helpcompiler/source/HelpLinker_main.cxx b/helpcompiler/source/HelpLinker_main.cxx
index 36826b49209c..5c8fe8807336 100644
--- a/helpcompiler/source/HelpLinker_main.cxx
+++ b/helpcompiler/source/HelpLinker_main.cxx
@@ -23,25 +23,25 @@
#include <iostream>
#include <memory>
-SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
+SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
+{
std::vector<std::string> args;
for (int i = 1; i < argc; ++i)
args.push_back(std::string(argv[i]));
try
{
std::unique_ptr<HelpLinker> pHelpLinker(new HelpLinker());
- pHelpLinker->main( args );
+ pHelpLinker->main(args);
}
- catch( const HelpProcessingException& e )
+ catch (const HelpProcessingException& e)
{
std::cerr << e.m_aErrorMsg;
exit(1);
}
- catch (const std::exception &e)
+ catch (const std::exception& e)
{
std::cerr << e.what();
exit(1);
}
return 0;
}
-