index cdd02882a82e6ea171de9629bdf028a5fa647208..366bab0006fec8dcf59c3157eccf884a11ebd0ff 100644 (file)
bounding_area = Geom::Rect( Geom::Point(0,0),
Geom::Point(sp_document_width(doc), sp_document_height(doc)) );
} else {
- boost::optional<NR::Rect> bounds = selection->bounds();
+ boost::optional<Geom::Rect> bounds = selection->bounds();
if (bounds) {
- bounding_area = to_2geom(*bounds);
+ bounding_area = *bounds;
}
gdouble doc_height = sp_document_height(document->doc());