summaryrefslogtreecommitdiff
path: root/codemaker/source/cppumaker
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-30 15:09:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-01 09:22:23 +0200
commit727200b81da0de810dfe623bf52575540f40adbe (patch)
tree3ba4786631faffd79bb20ae14a7b986a842aeda8 /codemaker/source/cppumaker
parent2113f3e7ee0ca5c07f224a54b627777b3a7b5fb0 (diff)
loplugin:stringadd in basctl..cui
Change-Id: I2fdeb7eb3ead3512ad6d3fe793305038ab3aa7ae Reviewed-on: https://gerrit.libreoffice.org/79886 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'codemaker/source/cppumaker')
-rw-r--r--codemaker/source/cppumaker/cppuoptions.cxx38
1 files changed, 19 insertions, 19 deletions
diff --git a/codemaker/source/cppumaker/cppuoptions.cxx b/codemaker/source/cppumaker/cppuoptions.cxx
index 054e810ca084..0e25ae2f5da7 100644
--- a/codemaker/source/cppumaker/cppuoptions.cxx
+++ b/codemaker/source/cppumaker/cppuoptions.cxx
@@ -293,25 +293,25 @@ bool CppuOptions::initOptions(int ac, char* av[], bool bCmdFile)
OString CppuOptions::prepareHelp()
{
- OString help("\nusing: ");
- help += m_program + " [-options] file_1 ... file_n\nOptions:\n"
- " -O<path> = path describes the root directory for the generated output.\n"
- " The output directory tree is generated under this directory.\n"
- " -T<name> = name specifies a type or a list of types. The output for this\n"
- " [t1;...] type is generated. If no '-T' option is specified,\n"
- " then output for all types is generated.\n"
- " Example: 'com.sun.star.uno.XInterface' is a valid type.\n"
- " -L = UNO type functions are generated lightweight, that means only\n"
- " the name and typeclass are given and everything else is retrieved\n"
- " from the type library dynamically. The default is that UNO type\n"
- " functions provides enough type information for bootstrapping C++.\n"
- " '-L' should be the default for external components.\n"
- " -C = UNO type functions are generated comprehensive that means all\n"
- " necessary information is available for bridging the type in UNO.\n"
- " -nD = no dependent types are generated.\n"
- " -G = generate only target files which does not exists.\n"
- " -Gc = generate only target files which content will be changed.\n"
- " -X<file> = extra types which will not be taken into account for generation.\n\n";
+ OString help = "\nusing: " +
+ m_program + " [-options] file_1 ... file_n\nOptions:\n"
+ " -O<path> = path describes the root directory for the generated output.\n"
+ " The output directory tree is generated under this directory.\n"
+ " -T<name> = name specifies a type or a list of types. The output for this\n"
+ " [t1;...] type is generated. If no '-T' option is specified,\n"
+ " then output for all types is generated.\n"
+ " Example: 'com.sun.star.uno.XInterface' is a valid type.\n"
+ " -L = UNO type functions are generated lightweight, that means only\n"
+ " the name and typeclass are given and everything else is retrieved\n"
+ " from the type library dynamically. The default is that UNO type\n"
+ " functions provides enough type information for bootstrapping C++.\n"
+ " '-L' should be the default for external components.\n"
+ " -C = UNO type functions are generated comprehensive that means all\n"
+ " necessary information is available for bridging the type in UNO.\n"
+ " -nD = no dependent types are generated.\n"
+ " -G = generate only target files which does not exists.\n"
+ " -Gc = generate only target files which content will be changed.\n"
+ " -X<file> = extra types which will not be taken into account for generation.\n\n";
help += prepareVersion();
return help;