summaryrefslogtreecommitdiffstats
path: root/src/sp-tag-use-reference.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-07-24 19:53:33 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-07-24 19:53:33 +0000
commit5a37f06c70e0e4e2519812564f4dcdced7c0246a (patch)
treef959f73813cb6f968072aee1100323b24e294136 /src/sp-tag-use-reference.cpp
parentupdate to trunk (diff)
parentFix a bug continuing a bezier path whith a LPE one like spiro or bspline on a... (diff)
downloadinkscape-5a37f06c70e0e4e2519812564f4dcdced7c0246a.tar.gz
inkscape-5a37f06c70e0e4e2519812564f4dcdced7c0246a.zip
update to trunk
(bzr r13879.1.17)
Diffstat (limited to 'src/sp-tag-use-reference.cpp')
-rw-r--r--src/sp-tag-use-reference.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/sp-tag-use-reference.cpp b/src/sp-tag-use-reference.cpp
index 220cd16d1..9fcb31fd1 100644
--- a/src/sp-tag-use-reference.cpp
+++ b/src/sp-tag-use-reference.cpp
@@ -24,14 +24,7 @@
bool SPTagUseReference::_acceptObject(SPObject * const obj) const
{
if (SP_IS_ITEM(obj)) {
- SPObject * const owner = getOwner();
- // Refuse references to us or to an ancestor.
- for ( SPObject *iter = owner ; iter ; iter = iter->parent ) {
- if ( iter == obj ) {
- return false;
- }
- }
- return true;
+ return URIReference::_acceptObject(obj);
} else {
return false;
}