Code

Merging from trunk
[inkscape.git] / src / live_effects / lpe-mirror_symmetry.cpp
index bb2b908deeb4fab3a9ef74b5e346b651a079c242..cd724b70e173a6d1c5cb6b8cb7391a1283621bf1 100644 (file)
@@ -47,7 +47,7 @@ LPEMirrorSymmetry::doOnApply (SPLPEItem *lpeitem)
 
     SPItem *item = SP_ITEM(lpeitem);
     Geom::Matrix t = sp_item_i2d_affine(item);
-    Geom::Rect bbox = to_2geom(*item->getBounds(t)); // fixme: what happens if getBounds does not return a valid rect?
+    Geom::Rect bbox = *item->getBounds(t); // fixme: what happens if getBounds does not return a valid rect?
 
     Point A(bbox.left(), bbox.bottom());
     Point B(bbox.left(), bbox.top());