From a4581c7c3ab44b2fee82e71c1b0d2c3daaef51d6 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Tue, 1 Jul 2008 23:08:09 +0000 Subject: remove "public private" virtual methods from XML::Node (bzr r6110) --- src/xml/simple-node.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/xml/simple-node.h') diff --git a/src/xml/simple-node.h b/src/xml/simple-node.h index 1d87c6db1..98d363f34 100644 --- a/src/xml/simple-node.h +++ b/src/xml/simple-node.h @@ -118,20 +118,12 @@ protected: virtual SimpleNode *_duplicate(Document *doc) const=0; -public: // ideally these should be protected somehow... - NodeObserver &_subtreeObservers() { return _subtree_observers; } - void _setParent(Node *parent); - void _setNext(Node *next) { _next = dynamic_cast(next); } - - unsigned _childPosition(Node const &child) const; - unsigned _cachedPosition() const { return _cached_position; } - void _setCachedPosition(unsigned position) const { - _cached_position = position; - } - private: void operator=(Node const &); // no assign + void _setParent(SimpleNode *parent); + unsigned _childPosition(SimpleNode const &child) const; + SimpleNode *_parent; SimpleNode *_next; Document *_document; -- cgit v1.2.3