[Libreoffice-commits] .: configmgr/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Tue Apr 12 13:05:32 PDT 2011
configmgr/source/access.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f577ae09f50f9026be271fea3de333e2db37e24d
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Tue Apr 12 22:02:57 2011 +0200
fix a warning about parenthesis suggestion
diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx
index ef7ba86..c8cb793 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());
More information about the Libreoffice-commits
mailing list