From 245423b1f37319d4d4ee60b105fe179c2b591ffa Mon Sep 17 00:00:00 2001 From: Alex Wilson Date: Sun, 22 May 2011 19:24:02 +0000 Subject: [PATCH] Remove unused method from CollapsingLayouter class. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41660 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/layouter/CollapsingLayouter.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/kits/interface/layouter/CollapsingLayouter.cpp b/src/kits/interface/layouter/CollapsingLayouter.cpp index d2620bf7b5..d070d11365 100644 --- a/src/kits/interface/layouter/CollapsingLayouter.cpp +++ b/src/kits/interface/layouter/CollapsingLayouter.cpp @@ -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; - } };