From 16888ce63e21b83d94595055150072ef3037ca1d Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Mon, 10 Sep 2007 06:33:47 +0000 Subject: Purged fill type enum (bzr r3706) --- src/sp-tspan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp-tspan.cpp') diff --git a/src/sp-tspan.cpp b/src/sp-tspan.cpp index face70aef..a767ab194 100644 --- a/src/sp-tspan.cpp +++ b/src/sp-tspan.cpp @@ -213,7 +213,7 @@ static void sp_tspan_bbox(SPItem const *item, NRRect *bbox, NR::Matrix const &tr // Add stroke width SPStyle* style=SP_OBJECT_STYLE (item); - if (style->stroke.type != SP_PAINT_TYPE_NONE) { + if (!style->stroke.isNone()) { double const scale = expansion(transform); if ( fabs(style->stroke_width.computed * scale) > 0.01 ) { // sinon c'est 0=oon veut pas de bord double const width = MAX(0.125, style->stroke_width.computed * scale); -- cgit v1.2.3