diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-04-17 12:33:39 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-04-17 12:33:39 +0000 |
commit | eb9b0410e0a805432afdf03d03ebfdcd1ae6df73 (patch) | |
tree | fb2210a783fc7be365a045da37f3c4d8e8a861b2 /configmgr/source/treemgr | |
parent | 66b0defd4c926495c991d769531016df30316a85 (diff) |
INTEGRATION: CWS configapi01 (1.5.4); FILE MERGED
2003/04/14 16:04:08 ssmith 1.5.4.1: #108808# fix for OInnerGroupInfoAccess:XElementAccess
Diffstat (limited to 'configmgr/source/treemgr')
-rw-r--r-- | configmgr/source/treemgr/viewstrategy.cxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/configmgr/source/treemgr/viewstrategy.cxx b/configmgr/source/treemgr/viewstrategy.cxx index afa57866ee6b..7bec3cb5fd8e 100644 --- a/configmgr/source/treemgr/viewstrategy.cxx +++ b/configmgr/source/treemgr/viewstrategy.cxx @@ -2,9 +2,9 @@ * * $RCSfile: viewstrategy.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: vg $ $Date: 2003-04-01 13:43:09 $ + * last change: $Author: rt $ $Date: 2003-04-17 13:33:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -595,6 +595,15 @@ namespace configmgr return getMemberValueAccess(_aNode,_aName).isValid(); } + bool ViewStrategy::hasValue(GroupNode const& _aNode) const + { + checkInstance(_aNode.tree()); + configuration::GroupNodeImpl* pGroupNode=_aNode.get_impl(); + data::GroupNodeAccess aGroupNodeAccess = pGroupNode->getDataAccess( _aNode.accessor() ); + return aGroupNodeAccess.hasChildren(); + } + + bool ViewStrategy::areValueDefaultsAvailable(GroupNode const& _aNode) const { checkInstance(_aNode.tree()); |