summaryrefslogtreecommitdiffstats
path: root/src/sp-hatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-hatch.h')
-rw-r--r--src/sp-hatch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-hatch.h b/src/sp-hatch.h
index 5004a611f..546f06a1e 100644
--- a/src/sp-hatch.h
+++ b/src/sp-hatch.h
@@ -168,7 +168,7 @@ public:
protected:
virtual bool _acceptObject(SPObject *obj) const {
- return dynamic_cast<SPHatch *>(obj) != NULL;
+ return dynamic_cast<SPHatch *>(obj) != NULL && URIReference::_acceptObject(obj);
}
};