diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-10-29 12:56:41 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-10-29 12:56:41 +0000 |
| commit | 01225070a051a96818fd9d0c218cafb982cdce21 (patch) | |
| tree | e3c1daa6bac4145aaf4eb39799e1024cfe402d14 /src/sp-lpe-item.cpp | |
| parent | small fix (diff) | |
| download | inkscape-01225070a051a96818fd9d0c218cafb982cdce21.tar.gz inkscape-01225070a051a96818fd9d0c218cafb982cdce21.zip | |
Fix a bug converting to paths nested LPE with powerstroke
Diffstat (limited to 'src/sp-lpe-item.cpp')
| -rw-r--r-- | src/sp-lpe-item.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp index c0688f869..5be950afa 100644 --- a/src/sp-lpe-item.cpp +++ b/src/sp-lpe-item.cpp @@ -604,9 +604,9 @@ void SPLPEItem::removeAllPathEffects(bool keep_paths) } // unlink and delete all references in the list (*it)->unlink(); - delete *it; - it = this->path_effect_list->erase(it); + ++it; } + this->path_effect_list->clear(); this->getRepr()->setAttribute("inkscape:path-effect", NULL); if (!keep_paths) { |
