summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 34b7a09)
raw | patch | inline | side by side (parent: 34b7a09)
author | sasilver <sasilver@users.sourceforge.net> | |
Sun, 10 Aug 2008 14:44:19 +0000 (14:44 +0000) | ||
committer | sasilver <sasilver@users.sourceforge.net> | |
Sun, 10 Aug 2008 14:44:19 +0000 (14:44 +0000) |
src/id-clash.cpp | patch | blob | history |
diff --git a/src/id-clash.cpp b/src/id-clash.cpp
index 5980c9e7b2eebfabede7b087c0b30400095a9a22..420b9c3e5c54946cd9c454ea6f9b01cb70c508b9 100644 (file)
--- a/src/id-clash.cpp
+++ b/src/id-clash.cpp
static void
find_references(SPObject *elem, refmap_type *refmap)
{
+ if (SP_OBJECT_IS_CLONED(elem)) return;
Inkscape::XML::Node *repr_elem = SP_OBJECT_REPR(elem);
+ if (!repr_elem) return;
if (repr_elem->type() != Inkscape::XML::ELEMENT_NODE) return;
/* check for references in inkscape:clipboard elements */