summaryrefslogtreecommitdiffstats
path: root/src/text-editing.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2011-02-21 21:43:30 +0000
committerJon A. Cruz <jon@joncruz.org>2011-02-21 21:43:30 +0000
commitaa8c0d876949c952ab355c096017301a00734456 (patch)
tree6aeabb3dc05451470bc8c6a0f72ca1634eed2ace /src/text-editing.cpp
parentemf import. support for round rectangle (Bug 247695) (diff)
downloadinkscape-aa8c0d876949c952ab355c096017301a00734456.tar.gz
inkscape-aa8c0d876949c952ab355c096017301a00734456.zip
Finished cleanup of outdated SP_OBJECT_PARENT C macro.
(bzr r10064)
Diffstat (limited to 'src/text-editing.cpp')
-rw-r--r--src/text-editing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text-editing.cpp b/src/text-editing.cpp
index 1e918ae00..003af245d 100644
--- a/src/text-editing.cpp
+++ b/src/text-editing.cpp
@@ -1757,7 +1757,7 @@ static bool redundant_semi_nesting_processor(SPObject **item, SPObject *child, b
SPObject *prev = (*item)->getPrev();
(*item)->parent->getRepr()->addChild(new_span, prev ? prev->getRepr() : NULL);
} else {
- SP_OBJECT_REPR(SP_OBJECT_PARENT(*item))->addChild(new_span, SP_OBJECT_REPR(*item));
+ (*item)->parent->getRepr()->addChild(new_span, (*item)->getRepr());
}
new_span->setAttribute("style", child->getRepr()->attribute("style"));
move_child_nodes(child->getRepr(), new_span);