Code

Changed preference to use file chooser button
[inkscape.git] / src / sp-flowtext.cpp
index daa9f808a2db1c0046de3741ef94af7094330fe9..87e3246f97194fe9b92315e8e4e2da76642ae2f6 100644 (file)
@@ -329,7 +329,7 @@ sp_flowtext_bbox(SPItem const *item, NRRect *bbox, NR::Matrix const &transform,
 
     // 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);