diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-04-12 22:02:57 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-04-12 22:02:57 +0200 |
commit | ac7c1efc2b7b81f45330cf53a370692321600975 (patch) | |
tree | 312f1b84ad554b69f282d339e6016263c8399ca2 /configmgr/source | |
parent | b2212fac4dfc8024a2ef28f2229a88ecee41c359 (diff) |
fix a warning about parenthesis suggestion
Diffstat (limited to 'configmgr/source')
-rw-r--r-- | configmgr/source/access.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx index ef7ba869cf94..c8cb79300373 100644 --- a/configmgr/source/access.cxx +++ b/configmgr/source/access.cxx @@ -2230,13 +2230,13 @@ bool Access::thisIs(int what) { osl::MutexGuard g(*lock_); rtl::Reference< Node > p(getNode()); Node::Kind k(p->kind()); - return k != Node::KIND_PROPERTY && k != Node::KIND_LOCALIZED_VALUE && + return (k != Node::KIND_PROPERTY && k != Node::KIND_LOCALIZED_VALUE && ((what & IS_GROUP) == 0 || k == Node::KIND_GROUP) && ((what & IS_SET) == 0 || k == Node::KIND_SET) && ((what & IS_EXTENSIBLE) == 0 || k != Node::KIND_GROUP || dynamic_cast< GroupNode * >(p.get())->isExtensible()) && ((what & IS_GROUP_MEMBER) == 0 || - getParentNode()->kind() == Node::KIND_GROUP) || + getParentNode()->kind() == Node::KIND_GROUP)) || ((what & IS_SET_MEMBER) == 0 || getParentNode()->kind() == Node::KIND_SET) || ((what & IS_UPDATE) == 0 || getRootAccess()->isUpdate()); |