Code

Merging from trunk
[inkscape.git] / src / live_effects / lpegroupbbox.cpp
index c11e99ecdcc6cf8cc8f16d7f2fd26bfe889b1f9e..79e6857f0b2a41ccb696cec452b246b2ff310dfd 100644 (file)
@@ -27,7 +27,7 @@ GroupBBoxEffect::original_bbox(SPLPEItem *lpeitem, bool absolute)
         transform = Geom::identity();
     }
 
-    Geom::Rect itemBBox = to_2geom(*item->getBounds(transform, SPItem::GEOMETRIC_BBOX)); // fixme: fix for when getBounds returns invalid Rect
+    Geom::Rect itemBBox = *item->getBounds(transform, SPItem::GEOMETRIC_BBOX); // fixme: fix for when getBounds returns invalid Rect
     boundingbox_X = itemBBox[Geom::X];
     boundingbox_Y = itemBBox[Geom::Y];
 }