diff -r 01f2f6d6789d -r e3f722759c7e branchobj.cpp --- a/branchobj.cpp Mon May 18 11:22:41 2009 +0000 +++ b/branchobj.cpp Wed May 20 15:40:14 2009 +0000 @@ -638,58 +638,6 @@ calcBBoxSize(); } -void BranchObj::removeBranchHere(BranchObj* borem) // FIXME-2 getNum no longer available -{ -/* - // This removes the branch bo from list, but - // inserts its children at the place of bo - BranchObj *bo; - bo=borem->getLastBranch(); - int pos=borem->getNum(); - while (bo) - { - bo->linkTo (this,pos+1); - bo=borem->getLastBranch(); - } - removeBranch (borem); - */ -} - -void BranchObj::removeChildren() // FIXME-3 not needed here -{ - clear(); -} - -void BranchObj::removeBranch(BranchObj* bo) // FIXME-2 not needed here -{ -/* - // if bo is not in branch remove returns false, we - // don't care... - - int i=branch.indexOf(bo); - if (i>=0) - { - delete (bo); - branch.removeAt (i); - } else - qWarning ("BranchObj::removeBranch tried to remove non existing branch?!\n"); - requestReposition(); - */ -} - -void BranchObj::removeBranchPtr(BranchObj* bo) // FIXME-3 not needed here -{ -/* - int i=branch.indexOf(bo); - - if (i>=0) - branch.removeAt (i); - else - qWarning ("BranchObj::removeBranchPtr tried to remove non existing branch?!\n"); - requestReposition(); -*/ -} - void BranchObj::sortChildren() //FIXME-2 { /*