summaryrefslogtreecommitdiffstats
path: root/src/sp-lpe-item.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-06-27 16:22:51 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-06-27 16:22:51 +0000
commitf2ffaaab1e5733120394ca2bbf24403f435e47c4 (patch)
tree45fa880ededa8ed3804732f4417b810d8a300b11 /src/sp-lpe-item.cpp
parentfix windows build (gtk3) partly. broken because of windows.h poluting namespa... (diff)
downloadinkscape-f2ffaaab1e5733120394ca2bbf24403f435e47c4.tar.gz
inkscape-f2ffaaab1e5733120394ca2bbf24403f435e47c4.zip
Remove the incorrect fix for the bug 1241902
(bzr r13341.1.69)
Diffstat (limited to 'src/sp-lpe-item.cpp')
-rw-r--r--src/sp-lpe-item.cpp36
1 files changed, 3 insertions, 33 deletions
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp
index 9e2eff6bb..439e44508 100644
--- a/src/sp-lpe-item.cpp
+++ b/src/sp-lpe-item.cpp
@@ -340,22 +340,6 @@ static void
sp_lpe_item_create_original_path_recursive(SPLPEItem *lpeitem)
{
g_return_if_fail(lpeitem != NULL);
- SPMask * mask = lpeitem->mask_ref->getObject();
-
- if (mask)
- {
- if (SPLPEItem* maskChild = dynamic_cast<SPLPEItem*>(mask->firstChild())) {
- sp_lpe_item_create_original_path_recursive(maskChild);
- }
- }
-
- SPClipPath * clipPath = lpeitem->clip_ref->getObject();
- if (clipPath)
- {
- if (SPLPEItem* clipChild = dynamic_cast<SPLPEItem*>(clipPath->firstChild())) {
- sp_lpe_item_create_original_path_recursive(clipChild);
- }
- }
if (SP_IS_GROUP(lpeitem)) {
GSList const *item_list = sp_item_group_item_list(SP_GROUP(lpeitem));
for ( GSList const *iter = item_list; iter; iter = iter->next ) {
@@ -377,23 +361,6 @@ static void
sp_lpe_item_cleanup_original_path_recursive(SPLPEItem *lpeitem)
{
g_return_if_fail(lpeitem != NULL);
- SPMask * mask = lpeitem->mask_ref->getObject();
-
- if (mask)
- {
- if (SPLPEItem* maskChild = dynamic_cast<SPLPEItem*>(mask->firstChild())) {
- sp_lpe_item_cleanup_original_path_recursive(maskChild);
- }
- }
-
- SPClipPath * clipPath = lpeitem->clip_ref->getObject();
- if (clipPath)
- {
- if (SPLPEItem* clipChild = dynamic_cast<SPLPEItem*>(clipPath->firstChild())) {
- sp_lpe_item_cleanup_original_path_recursive(clipChild);
- }
- }
-
if (SP_IS_GROUP(lpeitem)) {
GSList const *item_list = sp_item_group_item_list(SP_GROUP(lpeitem));
for ( GSList const *iter = item_list; iter; iter = iter->next ) {
@@ -639,6 +606,9 @@ bool SPLPEItem::hasPathEffectRecursive() const
}
}
+//The next 3 functions are because the revert of the bug 1241902
+//for the moment not used
+
void
sp_lpe_item_apply_to_clippath(SPItem * item)
{