Remove unused method from CollapsingLayouter class.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41660 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alex Wilson 2011-05-22 19:24:02 +00:00
parent cca52e7987
commit 245423b1f3

View File

@ -108,14 +108,6 @@ struct CollapsingLayouter::ElementInfo {
for (int32 i = other.constraints.CountItems() - 1; i >= 0; i--)
constraints.AddItem(new Constraint(*other.constraints.ItemAt(i)));
}
int32 LengthOfLongestConstraint()
{
int32 length = 0;
for (int32 i = constraints.CountItems() - 1; i >= 0; i--)
length = max_c(length, constraints.ItemAt(i)->length);
return length;
}
};