summaryrefslogtreecommitdiffstats
path: root/src/style-internal.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-09-07 19:26:35 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-09-07 21:48:33 +0000
commitaebf8e855097a4c2a7f11455596885f1633e3b1f (patch)
tree0e0ed893c634e5788c3630ed9fc208d31d1a5a9e /src/style-internal.cpp
parentAllow transforms in SVG2 flow elements (diff)
downloadinkscape-aebf8e855097a4c2a7f11455596885f1633e3b1f.tar.gz
inkscape-aebf8e855097a4c2a7f11455596885f1633e3b1f.zip
Fix bugs appliing in fallback elements
Diffstat (limited to 'src/style-internal.cpp')
-rw-r--r--src/style-internal.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/style-internal.cpp b/src/style-internal.cpp
index 6a8ff6f89..939d63e53 100644
--- a/src/style-internal.cpp
+++ b/src/style-internal.cpp
@@ -1122,6 +1122,9 @@ SPIShapes::read( gchar const *str) {
// The object/repr this property is connected to..
SPObject* object = style->object;
+ if (!object) {
+ return;
+ }
SPDocument* document = object->document;
Inkscape::XML::Node *text_repr = object->getRepr();