summaryrefslogtreecommitdiffstats
path: root/helpcompiler/source/HelpLinker_main.cxx
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 12:59:08 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-13 15:18:57 +0100
commit11aa7dc7a6009c02e681f41f7255902fe578ab7e (patch)
tree18e3c6eea510143735a52f3bc5e5fc5c2982867c /helpcompiler/source/HelpLinker_main.cxx
parenttdf#123936 Formatting files in module fpicker with clang-format (diff)
downloadcore-11aa7dc7a6009c02e681f41f7255902fe578ab7e.tar.gz
core-11aa7dc7a6009c02e681f41f7255902fe578ab7e.zip
tdf#123936 Formatting files in module helpcompiler with clang-format
Change-Id: Ibf7baa3de0a8cd7952044909c00c55e7c5b008a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105675 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
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;
}
-