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 | f39fbd44bb2f8fcb9ea48432344817ffb45be41f (patch) | |
tree | 5eef763891fc906a7a3f8381b9d1fd534214fa18 /configmgr | |
parent | 4fd534856067d80429835fb3a08515eb1349a1de (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 f94fd0a152d4..860bc5f0d43a 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()); |