Kaydet (Commit) c0ca75f1 authored tarafından Arnold Dumas's avatar Arnold Dumas Kaydeden (comit) Noel Grandin

tdf#100726: Improve readability of OUString concatenations

Change-Id: I31877a43e6fe3e9d6b36278673d40f3b14325972
Reviewed-on: https://gerrit.libreoffice.org/27092Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 9b099543
...@@ -302,24 +302,24 @@ bool CppuOptions::initOptions(int ac, char* av[], bool bCmdFile) ...@@ -302,24 +302,24 @@ bool CppuOptions::initOptions(int ac, char* av[], bool bCmdFile)
OString CppuOptions::prepareHelp() OString CppuOptions::prepareHelp()
{ {
OString help("\nusing: "); OString help("\nusing: ");
help += m_program + " [-options] file_1 ... file_n\nOptions:\n"; help += m_program + " [-options] file_1 ... file_n\nOptions:\n"
help += " -O<path> = path describes the root directory for the generated output.\n"; " -O<path> = path describes the root directory for the generated output.\n"
help += " The output directory tree is generated under this directory.\n"; " The output directory tree is generated under this directory.\n"
help += " -T<name> = name specifies a type or a list of types. The output for this\n"; " -T<name> = name specifies a type or a list of types. The output for this\n"
help += " [t1;...] type is generated. If no '-T' option is specified,\n"; " [t1;...] type is generated. If no '-T' option is specified,\n"
help += " then output for all types is generated.\n"; " then output for all types is generated.\n"
help += " Example: 'com.sun.star.uno.XInterface' is a valid type.\n"; " Example: 'com.sun.star.uno.XInterface' is a valid type.\n"
help += " -L = UNO type functions are generated lightweight, that means only\n"; " -L = UNO type functions are generated lightweight, that means only\n"
help += " the name and typeclass are given and everything else is retrieved\n"; " the name and typeclass are given and everything else is retrieved\n"
help += " from the type library dynamically. The default is that UNO type\n"; " from the type library dynamically. The default is that UNO type\n"
help += " functions provides enough type information for bootstrapping C++.\n"; " functions provides enough type information for bootstrapping C++.\n"
help += " '-L' should be the default for external components.\n"; " '-L' should be the default for external components.\n"
help += " -C = UNO type functions are generated comprehensive that means all\n"; " -C = UNO type functions are generated comprehensive that means all\n"
help += " necessary information is available for bridging the type in UNO.\n"; " necessary information is available for bridging the type in UNO.\n"
help += " -nD = no dependent types are generated.\n"; " -nD = no dependent types are generated.\n"
help += " -G = generate only target files which does not exists.\n"; " -G = generate only target files which does not exists.\n"
help += " -Gc = generate only target files which content will be changed.\n"; " -Gc = generate only target files which content will be changed.\n"
help += " -X<file> = extra types which will not be taken into account for generation.\n\n"; " -X<file> = extra types which will not be taken into account for generation.\n\n";
help += prepareVersion(); help += prepareVersion();
return help; return help;
......
...@@ -227,17 +227,17 @@ bool JavaOptions::initOptions(int ac, char* av[], bool bCmdFile) ...@@ -227,17 +227,17 @@ bool JavaOptions::initOptions(int ac, char* av[], bool bCmdFile)
OString JavaOptions::prepareHelp() OString JavaOptions::prepareHelp()
{ {
OString help("\nusing: "); OString help("\nusing: ");
help += m_program + " [-options] file_1 ... file_n -Xfile_n+1 -Xfile_n+2\nOptions:\n"; help += m_program + " [-options] file_1 ... file_n -Xfile_n+1 -Xfile_n+2\nOptions:\n"
help += " -O<path> = path describes the root directory for the generated output.\n"; " -O<path> = path describes the root directory for the generated output.\n"
help += " The output directory tree is generated under this directory.\n"; " The output directory tree is generated under this directory.\n"
help += " -T<name> = name specifies a type or a list of types. The output for this\n"; " -T<name> = name specifies a type or a list of types. The output for this\n"
help += " [t1;...] type and all dependent types are generated. If no '-T' option is\n"; " [t1;...] type and all dependent types are generated. If no '-T' option is\n"
help += " specified, then output for all types is generated.\n"; " specified, then output for all types is generated.\n"
help += " Example: 'com.sun.star.uno.XInterface' is a valid type.\n"; " Example: 'com.sun.star.uno.XInterface' is a valid type.\n"
help += " -nD = no dependent types are generated.\n"; " -nD = no dependent types are generated.\n"
help += " -G = generate only target files which does not exists.\n"; " -G = generate only target files which does not exists.\n"
help += " -Gc = generate only target files which content will be changed.\n"; " -Gc = generate only target files which content will be changed.\n"
help += " -X<file> = extra types which will not be taken into account for generation.\n\n"; " -X<file> = extra types which will not be taken into account for generation.\n\n";
help += prepareVersion(); help += prepareVersion();
return help; return help;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment