diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-06-16 13:00:51 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-06-16 13:00:51 +0000 |
commit | ab70c1bbad56b0967807315a36f25ffcddbf3865 (patch) | |
tree | e2509138a7d8859fa808456e67cbf6fd07a8c2a1 /configmgr/source | |
parent | 77b9f27e1af2d9c06cb8366be605f2bf96ca80a6 (diff) |
INTEGRATION: CWS sb88 (1.12.10); FILE MERGED
2008/06/03 15:29:52 sb 1.12.10.1: #i89553 applied patch by cmc
Diffstat (limited to 'configmgr/source')
-rw-r--r-- | configmgr/source/tree/node.cxx | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/configmgr/source/tree/node.cxx b/configmgr/source/tree/node.cxx index 280abc61f813..ae53261fb576 100644 --- a/configmgr/source/tree/node.cxx +++ b/configmgr/source/tree/node.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: node.cxx,v $ - * $Revision: 1.12 $ + * $Revision: 1.13 $ * * This file is part of OpenOffice.org. * @@ -291,14 +291,6 @@ TreeFragment const * SetNode::getNextElement(TreeFragment const * _pElement) co } //----------------------------------------------------------------------------- -bool ValueNode::isEmpty() const -{ - Type::Field const empty_value_type = Type::value_any | Type::nodetype_value; - - return info.type == empty_value_type; -} -//----------------------------------------------------------------------------- - bool ValueNode::isNull() const { Flags::Type availmask = (info.flags & Flags::defaulted) ? @@ -402,19 +394,12 @@ bool Node::isDefault() const } //----------------------------------------------------------------------------- -bool Node::isLocalized() const -{ - return node.info.isLocalized(); -} - -//----------------------------------------------------------------------------- - bool Node::isFragmentRoot() const { return ! node.info.parent; } +#if OSL_DEBUG_LEVEL > 0 //----------------------------------------------------------------------------- - Node * Node::getParentNode() { return node.info.parent ? this - node.info.parent : NULL; @@ -425,8 +410,8 @@ Node const * Node::getParentNode() const { return node.info.parent ? this - node.info.parent : NULL; } +#endif //----------------------------------------------------------------------------- - static Offset getFragmentIndex(Node const * pNode) { Offset result = 0; |