BTwoDimensionalLayout: Removed duplicated code.

* Probably some refactoring leftovers.
This commit is contained in:
Axel Dörfler
2015-07-30 19:49:53 +02:00
parent 99b4affab6
commit fd3e3e7bfb
@@ -21,8 +21,6 @@
#include "CollapsingLayouter.h"
// Some words of explanation:
//
// This class is the base class for BLayouts that organize their items
@@ -923,13 +921,6 @@ BTwoDimensionalLayout::VerticalCompoundLayouter::InternalGetHeightForWidth(
}
updateCachedInfo = true;
// get the height for width info
fCachedMinHeightForWidth = fHeightForWidthLayouter->MinSize();
fCachedMaxHeightForWidth = fHeightForWidthLayouter->MaxSize();
fCachedPreferredHeightForWidth
= fHeightForWidthLayouter->PreferredSize();
} else if (localLayouter->HasHeightForWidth()) {
// There is a height for width layouter and it has been initialized
// in the current layout context. So we just add the height for width