vcl/source/window/layout.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit cb283d8f0766b3069aa20c8c825eefca29537d6f Author: Caolán McNamara <caol...@redhat.com> Date: Wed May 8 12:12:19 2013 +0100 consider borderline outliers as outliers Change-Id: I138cdcb29b4e38211feb9e2d6a81a6ecb1688084 diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index c3935d9..4714f1e 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -351,7 +351,7 @@ static long getMaxNonOutlier(const std::vector<long> &rG, long nAvgDimension) aEnd = rG.end(); aI != aEnd; ++aI) { long nPrimaryChildDimension = *aI; - if (nPrimaryChildDimension <= nAvgDimension * 1.5) + if (nPrimaryChildDimension < nAvgDimension * 1.5) { nMaxDimensionNonOutlier = std::max(nPrimaryChildDimension, nMaxDimensionNonOutlier); @@ -370,7 +370,7 @@ static std::vector<long> setButtonSizes(const std::vector<long> &rG, aI != aEnd; ++aI) { long nPrimaryChildDimension = *aI; - if (nPrimaryChildDimension <= nAvgDimension * 1.5) + if (nPrimaryChildDimension < nAvgDimension * 1.5) aVec.push_back(nMaxNonOutlier); else aVec.push_back(nPrimaryChildDimension);
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits