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