From a0fbb8b460114838a1c3fabb57274b04a78d3182 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 25 Jul 2013 16:58:36 +0100 Subject: Resolves: fdo#61544 improve handling of grid's not enough layout space (cherry picked from commit b64adf65afb1cfe1bd48fed0d71ac333ad962776) Conflicts: vcl/source/window/layout.cxx Change-Id: I9a73e90f639bb853b67daa98d5daac155dab5900 Reviewed-on: https://gerrit.libreoffice.org/5119 Reviewed-by: Miklos Vajna Tested-by: Miklos Vajna --- include/vcl/layout.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index 5237c72c9bce..dd2c0bc8d834 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -388,6 +388,7 @@ public: private: void calcMaxs(const array_type &A, std::vector &rWidths, std::vector &rHeights) const; + Size calculateRequisitionForSpacings(sal_Int32 nRowSpacing, sal_Int32 nColSpacing) const; virtual Size calculateRequisition() const; virtual void setAllocation(const Size &rAllocation); public: -- cgit