From 946b9a04c4a9d252661fe7190213c225fa79bf92 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 5 Oct 2015 16:00:07 +0200 Subject: loplugin:mergeclasses and move the boost-depending code inside the module, no need to expose that dependency and include that header in all client code. Change-Id: Ib991572d7a54a9ad16825d688e76f8e3a824803c --- include/vcl/layout.hxx | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'include') diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index ac6f44fe6cc2..0be5645d0c68 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -18,7 +18,6 @@ #include #include #include -#include #include class VCL_DLLPUBLIC VclContainer : public vcl::Window @@ -310,36 +309,6 @@ private: int m_nRowSpacing; int m_nColumnSpacing; - struct GridEntry - { - VclPtr pChild; - sal_Int32 nSpanWidth; - sal_Int32 nSpanHeight; - GridEntry() - : pChild(0) - , nSpanWidth(0) - , nSpanHeight(0) - { - } - }; - - typedef boost::multi_array array_type; - - struct ExtendedGridEntry : GridEntry - { - int x; - int y; - ExtendedGridEntry() - : x(-1) - , y(-1) - { - } - }; - - typedef boost::multi_array ext_array_type; - - array_type assembleGrid() const; - static bool isNullGrid(const array_type& A); public: struct Value { @@ -348,7 +317,6 @@ public: Value() : m_nValue(0), m_bExpand(false) {} }; private: - static void calcMaxs(const array_type &A, std::vector &rWidths, std::vector &rHeights); Size calculateRequisitionForSpacings(sal_Int32 nRowSpacing, sal_Int32 nColSpacing) const; virtual Size calculateRequisition() const SAL_OVERRIDE; -- cgit