Code

2geomify a lot of NR::Points to Geom::Point
[inkscape.git] / src / live_effects / lpegroupbbox.cpp
index 1ec443a5f282f1a6094d8097f722e8a462baf939..e9cf050994ebec03c81d29d923adc241ac72acfc 100644 (file)
@@ -32,7 +32,7 @@ GroupBBoxEffect::original_bbox(SPLPEItem *lpeitem, bool absolute)
     NR::Maybe<NR::Rect> itemBBox = item->getBounds(transform, SPItem::GEOMETRIC_BBOX);
 
     // NR to Geom glue
-    Geom::Rect geomBBox = Geom::Rect(itemBBox->min().to_2geom(), itemBBox->max().to_2geom());
+    Geom::Rect geomBBox = Geom::Rect(itemBBox->min(), itemBBox->max());
     boundingbox_X = geomBBox[Geom::X];
     boundingbox_Y = geomBBox[Geom::Y];
 }