From 635bc2ea81fd9493a2997e89c2de5aa7d8405578 Mon Sep 17 00:00:00 2001 From: Philipp Hofer Date: Thu, 12 Nov 2020 13:04:58 +0100 Subject: 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 --- l10ntools/source/lngex.cxx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'l10ntools/source') 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 -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; } -- cgit