Code

(sp_svg_write_color): Use CSS/XHTML/SVG Basic named colours (the 16 colours white...
[inkscape.git] / src / sp-item.cpp
index ab241a0cde9f32b7c0f4fe997992fadd74918548..9f1126185213dec8af9ed99f95f9196fb2bc6c27 100644 (file)
@@ -25,7 +25,7 @@
 #endif
 
 
-
+#include "sp-item.h"
 #include "svg/svg.h"
 #include "print.h"
 #include "display/nr-arena.h"
@@ -636,12 +636,12 @@ sp_item_write(SPObject *const object, Inkscape::XML::Node *repr, guint flags)
         repr->setAttribute("sodipodi:insensitive", ( item->sensitive ? NULL : "true" ));
         if (item->transform_center_x != 0)
             sp_repr_set_svg_double (repr, "inkscape:transform-center-x", item->transform_center_x);
-        else 
+        else
             repr->setAttribute ("inkscape:transform-center-x", NULL);
         if (item->transform_center_y != 0)
             sp_repr_set_svg_double (repr, "inkscape:transform-center-y", item->transform_center_y);
-        else 
-            repr->setAttribute ("inkscape:transform-center-y", NULL);    
+        else
+            repr->setAttribute ("inkscape:transform-center-y", NULL);
     }
 
     if (((SPObjectClass *) (parent_class))->write) {