summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-05 16:00:07 +0200
committerNoel Grandin <noel@peralex.com>2015-10-06 08:41:58 +0200
commit946b9a04c4a9d252661fe7190213c225fa79bf92 (patch)
tree1cc3eb30f55478864ff137289c2b832cbd989220 /include
parentd451de7f08ba984f103364e167c8c6d097e493a8 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/vcl/layout.hxx32
1 files changed, 0 insertions, 32 deletions
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 <vcl/vclmedit.hxx>
#include <vcl/window.hxx>
#include <vcl/vclptr.hxx>
-#include <boost/multi_array.hpp>
#include <set>
class VCL_DLLPUBLIC VclContainer : public vcl::Window
@@ -310,36 +309,6 @@ private:
int m_nRowSpacing;
int m_nColumnSpacing;
- struct GridEntry
- {
- VclPtr<vcl::Window> pChild;
- sal_Int32 nSpanWidth;
- sal_Int32 nSpanHeight;
- GridEntry()
- : pChild(0)
- , nSpanWidth(0)
- , nSpanHeight(0)
- {
- }
- };
-
- typedef boost::multi_array<GridEntry, 2> array_type;
-
- struct ExtendedGridEntry : GridEntry
- {
- int x;
- int y;
- ExtendedGridEntry()
- : x(-1)
- , y(-1)
- {
- }
- };
-
- typedef boost::multi_array<ExtendedGridEntry, 2> 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<Value> &rWidths, std::vector<Value> &rHeights);
Size calculateRequisitionForSpacings(sal_Int32 nRowSpacing, sal_Int32 nColSpacing) const;
virtual Size calculateRequisition() const SAL_OVERRIDE;