summaryrefslogtreecommitdiffstats
path: root/src/sp-tag-use-reference.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-07-24 23:26:11 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-07-24 23:26:11 +0000
commit7b6ffd82650ee1e20a53b0631d5c2dddef58e8d5 (patch)
tree48cae26bf789b11d79f72efc16a6676f960eaaa6 /src/sp-tag-use-reference.cpp
parentupdate to trunk (diff)
parent3D box tool: the shift key must not prevent snapping of the vanishing point. ... (diff)
downloadinkscape-7b6ffd82650ee1e20a53b0631d5c2dddef58e8d5.tar.gz
inkscape-7b6ffd82650ee1e20a53b0631d5c2dddef58e8d5.zip
update to trunk
(bzr r12588.1.45)
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;
}