From 52be3fcbd960238b717a6487f0e19156825c8159 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 10 Aug 2015 12:00:34 +0100 Subject: cppcheck: badBitmaskCheck Change-Id: I0a6787379317e5077c5a4520e5144fe091a01538 --- unodevtools/source/skeletonmaker/javacompskeleton.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unodevtools') 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]) -- cgit