diff -r 61b05137cc6f -r 60f019156464 branchobj.cpp --- a/branchobj.cpp Tue Sep 04 13:53:34 2007 +0000 +++ b/branchobj.cpp Tue Oct 16 09:53:22 2007 +0000 @@ -734,7 +734,7 @@ void BranchObj::setHideTmp (HideTmpMode mode) { - if (mode==HideExport && hasHiddenExportParent(this)) + if (mode==HideExport && hasHiddenExportParent()) { setVisibility (false); hidden=true; @@ -751,16 +751,16 @@ branch.at(i)->setHideTmp (mode); } -bool BranchObj::hasHiddenExportParent(BranchObj *start) +bool BranchObj::hasHiddenExportParent() { // Calls parents recursivly to // find out, if we are temp. hidden if (hideExport) return true; - BranchObj* bo=(BranchObj*)(parObj); + BranchObj* bo=(BranchObj*)parObj; if (bo) - return bo->hasHiddenExportParent(start); + return bo->hasHiddenExportParent(); else return false; }