diff options
| author | Jabiertxof <jtx@jtx> | 2017-02-11 09:50:20 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2017-02-11 09:50:20 +0000 |
| commit | fb35812a12b030e67223cdd003a462e22ed5d465 (patch) | |
| tree | 4ab919abe13fbb37e925900434644365e2b542d7 /src/splivarot.cpp | |
| parent | Fix a memory leak introduced in r15421 and r15501 respectively (diff) | |
| download | inkscape-fb35812a12b030e67223cdd003a462e22ed5d465.tar.gz inkscape-fb35812a12b030e67223cdd003a462e22ed5d465.zip | |
Fix a critical warning on convert to paths https://bugs.launchpad.net/inkscape/+bug/1662812/comments/7
(bzr r15506)
Diffstat (limited to 'src/splivarot.cpp')
| -rw-r--r-- | src/splivarot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp index 485b4547e..22efe38ed 100644 --- a/src/splivarot.cpp +++ b/src/splivarot.cpp @@ -1617,9 +1617,9 @@ sp_item_path_outline(SPItem *item, SPDesktop *desktop, bool legacy) sp_repr_css_change(out, r_style, "style"); sp_repr_css_attr_unref(r_style); if (unique) { - out->setPosition(pos > 0 ? pos : 0); parent->appendChild(out); parent->removeChild(g_repr); + out->setPosition(pos > 0 ? pos : 0); } out->setAttribute("transform", item->getRepr()->attribute("transform")); //bug lp:1290573 : completely destroy the old object first |
