diff options
| author | MenTaLguY <mental@rydia.net> | 2008-07-01 23:08:09 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2008-07-01 23:08:09 +0000 |
| commit | a4581c7c3ab44b2fee82e71c1b0d2c3daaef51d6 (patch) | |
| tree | e8ab52400a3dd17de07b8717edf95660caf030df /src/xml/simple-node.h | |
| parent | remove additional unnecessary indirection in tree operations (diff) | |
| download | inkscape-a4581c7c3ab44b2fee82e71c1b0d2c3daaef51d6.tar.gz inkscape-a4581c7c3ab44b2fee82e71c1b0d2c3daaef51d6.zip | |
remove "public private" virtual methods from XML::Node
(bzr r6110)
Diffstat (limited to 'src/xml/simple-node.h')
| -rw-r--r-- | src/xml/simple-node.h | 14 |
1 files changed, 3 insertions, 11 deletions
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<SimpleNode *>(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; |
