summaryrefslogtreecommitdiffstats
path: root/src/sp-flowregion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-flowregion.cpp')
-rw-r--r--src/sp-flowregion.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp-flowregion.cpp b/src/sp-flowregion.cpp
index 680589b55..46690167f 100644
--- a/src/sp-flowregion.cpp
+++ b/src/sp-flowregion.cpp
@@ -502,12 +502,12 @@ static void GetDest(SPObject* child,Shape **computed)
if ( child == NULL ) return;
SPCurve *curve=NULL;
- Geom::Matrix tr_mat;
+ Geom::Affine tr_mat;
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 {