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
commiteb9618162ca53f898673cb457c5768fda168208e (patch)
tree3c7afb769f05f881db6c74668f4a051cd6040c98
parent6165ef7c953ff7fdd9a52e3a516a0500a8ee5b0f (diff)
Fix build breakage caused by commit 6165ef7...gr2
-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 f5c3bede3b..59fa978871 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 78581f88d8..fc4eb2c9a1 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 ),