diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-10-13 20:34:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-10-13 20:34:54 +0100 |
commit | 1f9f8f4f4074ce7ec9d2b0f2f751f5c47ce38634 (patch) | |
tree | 49cbfee75b2bbb28716685b803df1e676fdd6ba1 /codemaker/source/javamaker/javaoptions.cxx | |
parent | a51488cb2400163e20bc4fe5e3028587c29d08d9 (diff) |
loplugin: some log, indent and unused variable warnings
fix up some indents, remove some unused OUStrings and add some log areas
Change-Id: I5c50807aff7a726b03b72522975d9b75e6685b9b
Diffstat (limited to 'codemaker/source/javamaker/javaoptions.cxx')
-rw-r--r-- | codemaker/source/javamaker/javaoptions.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/codemaker/source/javamaker/javaoptions.cxx b/codemaker/source/javamaker/javaoptions.cxx index b6e57b52018c..388972460903 100644 --- a/codemaker/source/javamaker/javaoptions.cxx +++ b/codemaker/source/javamaker/javaoptions.cxx @@ -172,8 +172,7 @@ sal_Bool JavaOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile) m_options["-Gc"] = OString(""); break; - } else - if (av[i][2] != '\0') + } else if (av[i][2] != '\0') { OString tmp("'-G', please check"); if (i <= ac - 1) |