--- a/src/LDObject.cc Wed Mar 05 02:33:58 2014 +0200 +++ b/src/LDObject.cc Wed Mar 05 03:39:31 2014 +0200 @@ -219,7 +219,7 @@ getFile()->setObject (idx, other); // Remove the old object - deleteSelf(); + destroy(); } // ============================================================================= @@ -258,7 +258,7 @@ // ============================================================================= // -void LDObject::deleteSelf() +void LDObject::destroy() { // If this object was selected, unselect it now if (isSelected()) @@ -397,7 +397,7 @@ { LDObject* obj = LDObject::getDefault (type); QString name = obj->typeName(); - obj->deleteSelf(); + obj->destroy(); return name; } @@ -576,7 +576,7 @@ if (bfc && bfc->m_statement == LDBFC::InvertNext) { // This is prefixed with an invertnext, thus remove it. - bfc->deleteSelf(); + bfc->destroy(); return; } }