Code

fix crash when editing text with multiple tspans
authorbuliabyak <buliabyak@users.sourceforge.net>
Thu, 15 Mar 2007 22:54:26 +0000 (22:54 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Thu, 15 Mar 2007 22:54:26 +0000 (22:54 +0000)
src/desktop-style.cpp

index 789bcf4d0e5121a1d928a6ebbefff7fe32cc087c..9c7cbb35ffc59bdd4b5fb788177b7daad8a9ab30 100644 (file)
@@ -1031,6 +1031,7 @@ objects_query_blur (GSList *objects, SPStyle *style_res)
         SPObject *obj = SP_OBJECT (i->data);
         SPStyle *style = SP_OBJECT_STYLE (obj);
         if (!style) continue;
+        if (!SP_IS_ITEM(obj)) continue;
 
         NR::Matrix i2d = sp_item_i2d_affine (SP_ITEM(obj));