Code

use ::upgrade for getting NR::Rect
authorbuliabyak <buliabyak@users.sourceforge.net>
Mon, 19 Mar 2007 03:01:47 +0000 (03:01 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Mon, 19 Mar 2007 03:01:47 +0000 (03:01 +0000)
src/display/nr-arena-glyphs.cpp

index b6f0e5d601fdbf9f9395aab4053c57b2c617d8b8..65c5b378f7a7ae18fb5bd770f8d88898197b6526 100644 (file)
@@ -458,7 +458,7 @@ nr_arena_glyphs_group_render(cairo_t *ct, NRArenaItem *item, NRRectL *area, NRPi
 
             cairo_new_path(ct);
             NR::Matrix g_t(g->g_transform);
-            feed_curve_to_cairo (ct, bpath, g_t * group->ctm, NR::Rect(&pb->area), false, 0);
+            feed_curve_to_cairo (ct, bpath, g_t * group->ctm, (pb->area).upgrade(), false, 0);
             cairo_fill(ct);
             pb->empty = FALSE;
         }