summaryrefslogtreecommitdiffstats
path: root/src/sp-gradient-reference.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-gradient-reference.cpp')
-rw-r--r--src/sp-gradient-reference.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-gradient-reference.cpp b/src/sp-gradient-reference.cpp
index d2b8128fb..216ac73de 100644
--- a/src/sp-gradient-reference.cpp
+++ b/src/sp-gradient-reference.cpp
@@ -4,7 +4,7 @@
bool
SPGradientReference::_acceptObject(SPObject *obj) const
{
- return SP_IS_GRADIENT(obj);
+ return SP_IS_GRADIENT(obj) && URIReference::_acceptObject(obj);
/* effic: Don't bother making this an inline function: _acceptObject is a virtual function,
typically called from a context where the runtime type is not known at compile time. */
}