diff -r caba269c3757 -r 9ad3d0391be1 branchobj.cpp --- a/branchobj.cpp Thu Aug 31 12:51:20 2006 +0000 +++ b/branchobj.cpp Tue Sep 05 07:56:57 2006 +0000 @@ -150,7 +150,7 @@ int BranchObj::getNum() { if (parObj) - return ((BranchObj*)(parObj))->getNum ((BranchObj*)(this)); + return ((BranchObj*)parObj)->getNum (this); else return 0; } @@ -159,9 +159,10 @@ { // keep current pointer in branch, // otherwise save might fail - int cur=branch.at(); + // FIXME is this _really_ still true? +// int cur=branch.at(); int ind=branch.findRef (bo); - branch.at(cur); +// branch.at(cur); return ind; } @@ -1204,7 +1205,7 @@ // Find current parent and // remove pointer to myself there if (!dst) return NULL; - BranchObj *par=(BranchObj*)(parObj); + BranchObj *par=(BranchObj*)parObj; if (par) par->removeBranchPtr (this); else