summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e27ae51)
raw | patch | inline | side by side (parent: e27ae51)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Tue, 23 Sep 2008 21:38:42 +0000 (21:38 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Tue, 23 Sep 2008 21:38:42 +0000 (21:38 +0000) |
src/sp-lpe-item.cpp | patch | blob | history |
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp
index 89d41be76a5d0d497e5aa4c079b2fd756ba84cdd..2b0379cd4b86475106146c93db69035491eef282 100644 (file)
--- a/src/sp-lpe-item.cpp
+++ b/src/sp-lpe-item.cpp
if (path_effect_ref && path_effect_ref->lpeobject && path_effect_ref->lpeobject->lpe) {
lpeitem->path_effect_list->push_back(path_effect_ref);
+ } else {
+ // something has gone wrong in finding the right patheffect. For example when the specified LPE name does not exist.
+ path_effect_ref->unlink();
+ delete path_effect_ref;
+ path_effect_ref = NULL;
}
}
}