Code

Filter effects dialog:
[inkscape.git] / src / sp-fespecularlighting.cpp
index ce251b6fa1c67a828db576a7d36d570b191ff13f..cc9837041b0df00f353938cfc565a05b7803b0e7 100644 (file)
@@ -150,7 +150,7 @@ sp_feSpecularLighting_write(SPObject *object, Inkscape::XML::Node *repr, guint f
             // is this sane?
             repr->mergeFrom(SP_OBJECT_REPR(object), "id");
         } else {
-            repr = SP_OBJECT_REPR(object)->duplicate(repr->document());
+            repr = SP_OBJECT_REPR(object)->duplicate(NULL); // FIXME
         }
     }