diff options
| author | MenTaLguY <mental@rydia.net> | 2007-03-24 20:17:53 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2007-03-24 20:17:53 +0000 |
| commit | f08dd6b9a123cbe7f0b50debb02e0ee3ddf6a34d (patch) | |
| tree | 64d82764c8e564700345e81aa7168173ddb0c278 /src/sp-object.cpp | |
| parent | Updating star toolbar with radio toggles (diff) | |
| download | inkscape-f08dd6b9a123cbe7f0b50debb02e0ee3ddf6a34d.tar.gz inkscape-f08dd6b9a123cbe7f0b50debb02e0ee3ddf6a34d.zip | |
we have no document available yet at this point
(bzr r2749)
Diffstat (limited to 'src/sp-object.cpp')
| -rw-r--r-- | src/sp-object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp index f969fe842..6526435de 100644 --- a/src/sp-object.cpp +++ b/src/sp-object.cpp @@ -1113,7 +1113,7 @@ static Inkscape::XML::Node * 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); } |
