Code

Swedish translation update by Elias.
[inkscape.git] / src / libnrtype / RasterFont.cpp
index 3fbbe62d7cf8050430acb9f6cbc4e07065fcf3b8..14f6c7afac3160ed4268d2e6f2503fbb69edda77 100644 (file)
@@ -107,7 +107,7 @@ void           raster_font::BBox(int glyph_id,NRRect *area)
 {
        area->x0=area->y0=area->x1=area->y1=0;
        if ( daddy == NULL ) return;
-       boost::optional<Geom::Rect> res=daddy->BBox(glyph_id);
+       Geom::OptRect res=daddy->BBox(glyph_id);
        if (res) {
                Geom::Point bmi=res->min(),bma=res->max();
                Geom::Point tlp(bmi[0],bmi[1]),trp(bma[0],bmi[1]),blp(bmi[0],bma[1]),brp(bma[0],bma[1]);