summaryrefslogtreecommitdiff
path: root/unodevtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-08-10 12:00:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-08-10 12:13:30 +0100
commit52be3fcbd960238b717a6487f0e19156825c8159 (patch)
tree19ed7d757b6690ccb82d31aeec30d01d5886409a /unodevtools
parenteab0ae6a51667962dff04a0f1ed2b8411a344462 (diff)
cppcheck: badBitmaskCheck
Change-Id: I0a6787379317e5077c5a4520e5144fe091a01538
Diffstat (limited to 'unodevtools')
-rw-r--r--unodevtools/source/skeletonmaker/javacompskeleton.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unodevtools/source/skeletonmaker/javacompskeleton.cxx b/unodevtools/source/skeletonmaker/javacompskeleton.cxx
index 4ba2e99e391b..567916322b36 100644
--- a/unodevtools/source/skeletonmaker/javacompskeleton.cxx
+++ b/unodevtools/source/skeletonmaker/javacompskeleton.cxx
@@ -206,7 +206,7 @@ bool checkAttribute(
{
if (attribute & attributes[i]) {
if (!attributeValue.isEmpty()) {
- cast |= true;
+ cast = true;
attributeValue.append("|");
}
switch (attributes[i])