summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6429a77)
raw | patch | inline | side by side (parent: 6429a77)
author | mental <mental@users.sourceforge.net> | |
Sat, 24 Mar 2007 20:17:53 +0000 (20:17 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Sat, 24 Mar 2007 20:17:53 +0000 (20:17 +0000) |
src/sp-object.cpp | patch | blob | history |
diff --git a/src/sp-object.cpp b/src/sp-object.cpp
index f969fe8428b56ba4335f2137f2263c4a6a0471c8..6526435de98101f25ae6fc984d79a4876648b52b 100644 (file)
--- a/src/sp-object.cpp
+++ b/src/sp-object.cpp
sp_object_private_write(SPObject *object, Inkscape::XML::Node *repr, guint flags)
{
if (!repr && (flags & SP_OBJECT_WRITE_BUILD)) {
- repr = SP_OBJECT_REPR(object)->duplicate(repr->document());
+ repr = SP_OBJECT_REPR(object)->duplicate(NULL); // FIXME
if (!( flags & SP_OBJECT_WRITE_EXT )) {
repr->setAttribute("inkscape:collect", NULL);
}