diff options
Diffstat (limited to 'src/object/sp-tref.cpp')
| -rw-r--r-- | src/object/sp-tref.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/object/sp-tref.cpp b/src/object/sp-tref.cpp index dd44c5855..eae852a89 100644 --- a/src/object/sp-tref.cpp +++ b/src/object/sp-tref.cpp @@ -482,7 +482,6 @@ sp_tref_convert_to_tspan(SPObject *obj) new_tspan->updateRepr(); // Hold onto our SPObject and repr for now. - sp_object_ref(tref, NULL); Inkscape::GC::anchor(tref_repr); // Remove ourselves, not propagating delete events to avoid a @@ -495,7 +494,6 @@ sp_tref_convert_to_tspan(SPObject *obj) // Establish the succession and let go of our object. tref->setSuccessor(new_tspan); - sp_object_unref(tref, NULL); } } //////////////////// |
