diff options
author | Philipp Hofer <philipp.hofer@protonmail.com> | 2020-11-12 13:04:58 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-11-13 08:21:52 +0100 |
commit | 635bc2ea81fd9493a2997e89c2de5aa7d8405578 (patch) | |
tree | 5be4bdde541f3c2856c27e4499c8b28ad1ab7191 /l10ntools/source | |
parent | tdf#123936 Formatting files in module jurt with clang-format (diff) | |
download | core-635bc2ea81fd9493a2997e89c2de5aa7d8405578.tar.gz core-635bc2ea81fd9493a2997e89c2de5aa7d8405578.zip |
tdf#123936 Formatting files in module l10ntools with clang-format
Change-Id: I5f8c2aec02e160a22e9ff484170303927f0c9c05
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105686
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'l10ntools/source')
-rw-r--r-- | l10ntools/source/lngex.cxx | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/l10ntools/source/lngex.cxx b/l10ntools/source/lngex.cxx index 0d8bc6b9361f..7435c063ed1c 100644 --- a/l10ntools/source/lngex.cxx +++ b/l10ntools/source/lngex.cxx @@ -23,21 +23,20 @@ #include <lngmerge.hxx> -SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { - +SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) +{ common::HandledArgs aArgs; - if ( !common::handleArguments(argc, argv, aArgs) ) + if (!common::handleArguments(argc, argv, aArgs)) { - common::writeUsage("ulfex","*.ulf"); + common::writeUsage("ulfex", "*.ulf"); return 1; } - LngParser aParser( aArgs.m_sInputFile ); - if ( aArgs.m_bMergeMode ) - aParser.Merge( - aArgs.m_sMergeSrc, aArgs.m_sOutputFile, aArgs.m_sLanguage ); + LngParser aParser(aArgs.m_sInputFile); + if (aArgs.m_bMergeMode) + aParser.Merge(aArgs.m_sMergeSrc, aArgs.m_sOutputFile, aArgs.m_sLanguage); else - aParser.CreatePO( aArgs.m_sOutputFile ); + aParser.CreatePO(aArgs.m_sOutputFile); return 0; } |