summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-08 09:30:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-08 10:01:40 +0100
commit3b9dcfee6492474398011755a92d77320a226604 (patch)
tree90b8585c617e599ddd05fdcb2aa915b0b5986f72 /codemaker
parent21b224211c998e756a7eb03de30d0737e07b2350 (diff)
loplugin:indentation in codemaker..comphelper
Change-Id: I8dee6245cfa1f7998591b31a3752bbbae13f499d Reviewed-on: https://gerrit.libreoffice.org/67527 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/javamaker/javaoptions.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/codemaker/source/javamaker/javaoptions.cxx b/codemaker/source/javamaker/javaoptions.cxx
index 612b3d6b2d97..2d583e51ac3f 100644
--- a/codemaker/source/javamaker/javaoptions.cxx
+++ b/codemaker/source/javamaker/javaoptions.cxx
@@ -86,8 +86,7 @@ bool JavaOptions::initOptions(int ac, char* av[], bool bCmdFile)
case 'n':
if (av[i][2] != 'D' || av[i][3] != '\0')
{
- OString tmp("'-nD', please check");
- tmp += " your input '" + OString(av[i]) + "'";
+ OString tmp("'-nD', please check your input '" + OString(av[i]) + "'");
throw IllegalArgument(tmp);
}
@@ -189,8 +188,8 @@ bool JavaOptions::initOptions(int ac, char* av[], bool bCmdFile)
if (av[i][0] == '@')
{
FILE* cmdFile = fopen(av[i]+1, "r");
- if( cmdFile == nullptr )
- {
+ if( cmdFile == nullptr )
+ {
fprintf(stderr, "%s", prepareHelp().getStr());
ret = false;
} else