Code

Merge from fe-moved
[inkscape.git] / src / extension / internal / cairo-renderer.cpp
index 5d6315894da32f5f0f8bbbb87b1b7db098ffcb9d..4bc983cb75247e77903b48abdff190e5072eb999 100644 (file)
@@ -446,7 +446,7 @@ static void sp_asbitmap_render(SPItem *item, CairoRenderContext *ctx)
     TRACE(("sp_asbitmap_render: resolution: %f\n", res ));
 
     // Get the bounding box of the selection in document coordinates.
-    boost::optional<Geom::Rect> bbox = 
+    Geom::OptRect bbox = 
            item->getBounds(sp_item_i2d_affine(item), SPItem::RENDERING_BBOX);
 
     if (!bbox) // no bbox, e.g. empty group