summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-09-17 22:34:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-09-17 22:34:23 +0200
commitce09d2f07efdb9bfefe2c20515ebc3e1922a8c79 (patch)
treef2acc8ef36d6fa2e66d53ee7c10619326c05e3d9 /unoidl
parent19863a06d71996f82b2d7d32408b2b1830890a3a (diff)
&& vs. & typos
Change-Id: I7475114158d64b8dbe64cd9d1de3415454c762f4
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/source/sourceprovider-parser.y18
1 files 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) {