summaryrefslogtreecommitdiffstats
path: root/src/2geom/pathvector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/2geom/pathvector.cpp')
-rw-r--r--src/2geom/pathvector.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/2geom/pathvector.cpp b/src/2geom/pathvector.cpp
index 28ab26237..88725870d 100644
--- a/src/2geom/pathvector.cpp
+++ b/src/2geom/pathvector.cpp
@@ -172,6 +172,7 @@ public:
Interval itemBounds(ItemIterator ii) {
OptRect r = ii->path->boundsFast();
+ if (!r) return Interval();
return (*r)[X];
}