diff options
| author | Jabiertxof <jtx@jtx> | 2017-01-02 20:18:59 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2017-01-02 20:18:59 +0000 |
| commit | ea0de461574893c3b21e4653d0185cec501e0efe (patch) | |
| tree | 14f010634714b3f26ca1b75245c237bafe9e8e85 /src/live_effects/parameter/item-reference.cpp | |
| parent | Fixing paths (diff) | |
| download | inkscape-ea0de461574893c3b21e4653d0185cec501e0efe.tar.gz inkscape-ea0de461574893c3b21e4653d0185cec501e0efe.zip | |
Remove clone original code
(bzr r15295.1.47)
Diffstat (limited to 'src/live_effects/parameter/item-reference.cpp')
| -rw-r--r-- | src/live_effects/parameter/item-reference.cpp | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/live_effects/parameter/item-reference.cpp b/src/live_effects/parameter/item-reference.cpp deleted file mode 100644 index a775d93b7..000000000 --- a/src/live_effects/parameter/item-reference.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/* - * The reference corresponding to href of LPE Item parameter. - * - * Copyright (C) 2008 Johan Engelen - * - * Released under GNU GPL, read the file 'COPYING' for more information. - */ - -#include "live_effects/parameter/item-reference.h" - -#include "sp-shape.h" -#include "sp-text.h" -#include "sp-item-group.h" - -namespace Inkscape { -namespace LivePathEffect { - -bool ItemReference::_acceptObject(SPObject * const obj) const -{ - if (SP_IS_SHAPE(obj) || SP_IS_TEXT(obj) || SP_IS_GROUP(obj)) { - /* Refuse references to lpeobject */ - if (obj == getOwner()) { - return false; - } - // TODO: check whether the referred item has this LPE applied, if so: deny deny deny! - return URIReference::_acceptObject(obj); - } else { - return false; - } -} - -} // namespace LivePathEffect -} // namespace Inkscape - -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 : |
