summaryrefslogtreecommitdiffstats
path: root/src/sp-flowregion.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/sp-flowregion.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/sp-flowregion.cpp')
-rw-r--r--src/sp-flowregion.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-flowregion.cpp b/src/sp-flowregion.cpp
index 210f350b8..46690167f 100644
--- a/src/sp-flowregion.cpp
+++ b/src/sp-flowregion.cpp
@@ -507,7 +507,7 @@ static void GetDest(SPObject* child,Shape **computed)
SPObject* u_child=child;
if ( SP_IS_USE(u_child) ) {
u_child=SP_USE(u_child)->child;
- tr_mat = SP_ITEM(u_child)->getRelativeTransform(SP_OBJECT_PARENT(child));
+ tr_mat = SP_ITEM(u_child)->getRelativeTransform(child->parent);
} else {
tr_mat = SP_ITEM(u_child)->transform;
}
@@ -524,7 +524,7 @@ static void GetDest(SPObject* child,Shape **computed)
temp->Convert(0.25);
temp->Fill(n_shp,0);
Shape* uncross=new Shape;
- SPStyle* style=SP_OBJECT_STYLE(u_child);
+ SPStyle* style = u_child->style;
if ( style && style->fill_rule.computed == SP_WIND_RULE_EVENODD ) {
uncross->ConvertToShape(n_shp,fill_oddEven);
} else {