diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-06-16 13:09:53 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-06-16 13:09:53 +0000 |
commit | c13e2709a06f36b6fbb2c09c713a4540ac9a2afa (patch) | |
tree | cf29931474b0cacaf03667a3ae68344174710261 /configmgr | |
parent | 856425daf0fa5d45808da07245b712c5d1a704a2 (diff) |
INTEGRATION: CWS sb88 (1.12.10); FILE MERGED
2008/06/03 15:29:54 sb 1.12.10.1: #i89553 applied patch by cmc
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/treemgr/viewstrategy.cxx | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/configmgr/source/treemgr/viewstrategy.cxx b/configmgr/source/treemgr/viewstrategy.cxx index 5cc1031d6f..f8e9ed7333 100644 --- a/configmgr/source/treemgr/viewstrategy.cxx +++ b/configmgr/source/treemgr/viewstrategy.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: viewstrategy.cxx,v $ - * $Revision: 1.12 $ + * $Revision: 1.13 $ * * This file is part of OpenOffice.org. * @@ -389,13 +389,13 @@ namespace configmgr checkInstance(_aNode.tree()); return _aNode.get_impl()->getValue(); } - +#if OSL_DEBUG_LEVEL > 0 UnoType ViewStrategy::getValueType(ValueNode const& _aNode) const { checkInstance(_aNode.tree()); return _aNode.get_impl()->getValueType(); } - +#endif //----------------------------------------------------------------------------- // group member access @@ -428,9 +428,9 @@ namespace configmgr virtual Result handle(data::ValueNodeAccess const& _aValue); virtual Result handle(data::NodeAccess const& _aNonValue); - +#if (OSL_DEBUG_LEVEL > 0) bool test_value(data::NodeAccess const & _aNode) const; - +#endif ViewStrategy& m_rStrategy; GroupNode m_aGroup; GroupMemberVisitor& m_rVisitor; @@ -441,12 +441,14 @@ namespace configmgr using NodeVisitor::handle; }; +#if (OSL_DEBUG_LEVEL > 0) bool GroupMemberDispatch::test_value(data::NodeAccess const& _aNode) const { Name aName = _aNode.getName(); return m_rStrategy.hasValue( m_aGroup, aName ); } +#endif GroupMemberDispatch::Result GroupMemberDispatch::handle(data::ValueNodeAccess const& _aValue) { @@ -603,19 +605,6 @@ namespace configmgr return _aNode.get_impl()->getTemplateProvider(); } -//----------------------------------------------------------------------------- - data::NodeAccess ViewStrategy::getNodeAccess(Node const& _aNode) const - { - checkInstance(_aNode.tree()); - return _aNode.getAccessRef(); - } - - Name ViewStrategy::getNodeName(Node const& _aNode) const - { - checkInstance(_aNode.tree()); - return _aNode.data().getName(); - } - node::Attributes ViewStrategy::getNodeAttributes(Node const& _aNode) const { checkInstance(_aNode.tree()); |