diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2011-02-21 21:43:30 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2011-02-21 21:43:30 +0000 |
| commit | aa8c0d876949c952ab355c096017301a00734456 (patch) | |
| tree | 6aeabb3dc05451470bc8c6a0f72ca1634eed2ace /src/object-hierarchy.cpp | |
| parent | emf import. support for round rectangle (Bug 247695) (diff) | |
| download | inkscape-aa8c0d876949c952ab355c096017301a00734456.tar.gz inkscape-aa8c0d876949c952ab355c096017301a00734456.zip | |
Finished cleanup of outdated SP_OBJECT_PARENT C macro.
(bzr r10064)
Diffstat (limited to 'src/object-hierarchy.cpp')
| -rw-r--r-- | src/object-hierarchy.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object-hierarchy.cpp b/src/object-hierarchy.cpp index 55af55f28..e6a1618a7 100644 --- a/src/object-hierarchy.cpp +++ b/src/object-hierarchy.cpp @@ -70,10 +70,10 @@ void ObjectHierarchy::_addTop(SPObject *senior, SPObject *junior) { g_assert(junior != NULL); g_assert(senior != NULL); - SPObject *object=SP_OBJECT_PARENT(junior); + SPObject *object = junior->parent; do { _addTop(object); - object = SP_OBJECT_PARENT(object); + object = object->parent; } while ( object != senior ); } @@ -160,7 +160,7 @@ void ObjectHierarchy::_addBottom(SPObject *senior, SPObject *junior) { g_assert(senior != NULL); if ( junior != senior ) { - _addBottom(senior, SP_OBJECT_PARENT(junior)); + _addBottom(senior, junior->parent); _addBottom(junior); } } |
