summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e40c907)
raw | patch | inline | side by side (parent: e40c907)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Thu, 1 Jan 2009 07:31:51 +0000 (07:31 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Thu, 1 Jan 2009 07:31:51 +0000 (07:31 +0000) |
src/style.cpp | patch | blob | history |
diff --git a/src/style.cpp b/src/style.cpp
index 4fd8577b94cda5ae84c71cedb17df3d78684c4cb..ad4e509f6c0ca9129ebbaa350c9a35b7e16b0c5b 100644 (file)
--- a/src/style.cpp
+++ b/src/style.cpp
style->filter.href->changedSignal().connect(sigc::bind(sigc::ptr_fun(sp_style_filter_ref_changed), style));
}
- if (style->filter.href && parent->href) {
+ if (style->filter.href && parent->href && parent->href->getObject()) {
try {
style->filter.href->attach(*parent->href->getURI());
} catch (Inkscape::BadURIException &e) {