diff options
author | Benjamin Ni <benjaminniri@hotmail.com> | 2015-09-25 11:41:53 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-11-02 23:40:57 +0100 |
commit | be729e772196f33543e21cb9bac21add87726b20 (patch) | |
tree | f2150f458e2b07f8924b4702d37c09c8dd52215a /codemaker/source/javamaker | |
parent | No need for this debug code (diff) | |
download | core-be729e772196f33543e21cb9bac21add87726b20.tar.gz core-be729e772196f33543e21cb9bac21add87726b20.zip |
tdf#94269: Replace "n" prefix for bool variables with "b"
Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'codemaker/source/javamaker')
-rw-r--r-- | codemaker/source/javamaker/javatype.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/codemaker/source/javamaker/javatype.cxx b/codemaker/source/javamaker/javatype.cxx index d9639c1545be..f31dfee4d508 100644 --- a/codemaker/source/javamaker/javatype.cxx +++ b/codemaker/source/javamaker/javatype.cxx @@ -606,12 +606,12 @@ void writeClassFile( path = options.getOption("-O"); } OString filename(createFileNameFromType(path, type, ".class")); - bool check = false; + bool bCheck = false; if (fileExists(filename)) { if (options.isValid("-G")) { return; } - check = options.isValid("-Gc"); + bCheck = options.isValid("-Gc"); } FileStream tempfile; tempfile.createTempFile(getTempDir(filename)); @@ -632,7 +632,7 @@ void writeClassFile( throw; } tempfile.close(); - if (!makeValidTypeFile(filename, tempname, check)) { + if (!makeValidTypeFile(filename, tempname, bCheck)) { throw CannotDumpException( "Cannot create " + b2u(filename) + " from temporary file " + b2u(tempname)); @@ -1263,7 +1263,7 @@ sal_uInt16 addLoadLocal( + "\" in call to addLoadLocal"); } } else { - bool wrap = false; + bool bWrap = false; if (any) { switch (sort) { case codemaker::UnoType::SORT_BOOLEAN: @@ -1291,7 +1291,7 @@ sal_uInt16 addLoadLocal( case codemaker::UnoType:: SORT_INSTANTIATED_POLYMORPHIC_STRUCT_TYPE: case codemaker::UnoType::SORT_INTERFACE_TYPE: - wrap = true; + bWrap = true; break; case codemaker::UnoType::SORT_SEQUENCE_TYPE: case codemaker::UnoType::SORT_TYPEDEF: @@ -1303,7 +1303,7 @@ sal_uInt16 addLoadLocal( + "\" in call to addLoadLocal"); } } - if (wrap) { + if (bWrap) { code->instrNew("com/sun/star/uno/Any"); code->instrDup(); code->instrNew("com/sun/star/uno/Type"); |