summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Hawkins <n.hawkins@gmx.com>2011-03-09 21:56:51 +0000
committerNigel Hawkins <n.hawkins@gmx.com>2011-03-09 21:57:37 +0000
commit4feef01e1b0bc367a79f8c1b1f8e5c9eeb3b029b (patch)
tree144593b1b3ac8a4f6795997543936b7b9706bc59
parent8cafbbcfbb4a6c3c6f70e7a903203558ccfd3411 (diff)
Fix build breakage caused by commit 6165ef7...
-rw-r--r--sw/inc/tabcol.hxx2
-rw-r--r--sw/source/core/bastyp/tabcol.cxx3
2 files changed, 3 insertions, 2 deletions
diff --git a/sw/inc/tabcol.hxx b/sw/inc/tabcol.hxx
index 5f413b29279a..a98f2875638e 100644
--- a/sw/inc/tabcol.hxx
+++ b/sw/inc/tabcol.hxx
@@ -28,6 +28,8 @@
#ifndef _TABCOL_HXX
#define _TABCOL_HXX
+#include <tools/solar.h>
+
#ifndef INCLUDED_VECTOR
#include <vector>
#define INCLUDED_VECTOR
diff --git a/sw/source/core/bastyp/tabcol.cxx b/sw/source/core/bastyp/tabcol.cxx
index 256a5fde067d..6c9136770f26 100644
--- a/sw/source/core/bastyp/tabcol.cxx
+++ b/sw/source/core/bastyp/tabcol.cxx
@@ -29,10 +29,9 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
-
-
#include "tabcol.hxx"
+#include <limits.h> //for LONG_MAX
SwTabCols::SwTabCols( USHORT nSize ) :
nLeftMin( 0 ),