From ce09d2f07efdb9bfefe2c20515ebc3e1922a8c79 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 17 Sep 2013 22:34:23 +0200 Subject: && vs. & typos Change-Id: I7475114158d64b8dbe64cd9d1de3415454c762f4 --- unoidl/source/sourceprovider-parser.y | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/unoidl/source/sourceprovider-parser.y b/unoidl/source/sourceprovider-parser.y index c2e1d7e31d48..b093349f7e65 100644 --- a/unoidl/source/sourceprovider-parser.y +++ b/unoidl/source/sourceprovider-parser.y @@ -2502,31 +2502,31 @@ serviceProperty: YYERROR; } int att = 0; - if (($2 && unoidl::detail::FLAG_BOUND) != 0) { + if (($2 & unoidl::detail::FLAG_BOUND) != 0) { att |= unoidl::AccumulationBasedServiceEntity::Property::ATTRIBUTE_BOUND; } - if (($2 && unoidl::detail::FLAG_CONSTRAINED) != 0) { + if (($2 & unoidl::detail::FLAG_CONSTRAINED) != 0) { att |= unoidl::AccumulationBasedServiceEntity::Property::ATTRIBUTE_CONSTRAINED; } - if (($2 && unoidl::detail::FLAG_MAYBEAMBIGUOUS) != 0) { + if (($2 & unoidl::detail::FLAG_MAYBEAMBIGUOUS) != 0) { att |= unoidl::AccumulationBasedServiceEntity::Property::ATTRIBUTE_MAYBE_AMBIGUOUS; } - if (($2 && unoidl::detail::FLAG_MAYBEDEFAULT) != 0) { + if (($2 & unoidl::detail::FLAG_MAYBEDEFAULT) != 0) { att |= unoidl::AccumulationBasedServiceEntity::Property::ATTRIBUTE_MAYBE_DEFAULT; } - if (($2 && unoidl::detail::FLAG_MAYBEVOID) != 0) { + if (($2 & unoidl::detail::FLAG_MAYBEVOID) != 0) { att |= unoidl::AccumulationBasedServiceEntity::Property::ATTRIBUTE_MAYBE_VOID; } - if (($2 && unoidl::detail::FLAG_OPTIONAL) != 0) { + if (($2 & unoidl::detail::FLAG_OPTIONAL) != 0) { att |= unoidl::AccumulationBasedServiceEntity::Property::ATTRIBUTE_OPTIONAL; } - if (($2 && unoidl::detail::FLAG_READONLY) != 0) { + if (($2 & unoidl::detail::FLAG_READONLY) != 0) { att |= unoidl::AccumulationBasedServiceEntity::Property::ATTRIBUTE_READ_ONLY; } - if (($2 && unoidl::detail::FLAG_REMOVABLE) != 0) { + if (($2 & unoidl::detail::FLAG_REMOVABLE) != 0) { att |= unoidl::AccumulationBasedServiceEntity::Property::ATTRIBUTE_REMOVABLE; } - if (($2 && unoidl::detail::FLAG_TRANSIENT) != 0) { + if (($2 & unoidl::detail::FLAG_TRANSIENT) != 0) { att |= unoidl::AccumulationBasedServiceEntity::Property::ATTRIBUTE_TRANSIENT; } switch (t.type) { -- cgit v1.2.3