[Libreoffice-commits] .: sw/inc sw/source

Nigel Hawkins nhawkins at kemper.freedesktop.org
Wed Mar 9 13:58:18 PST 2011


 sw/inc/tabcol.hxx                |    2 ++
 sw/source/core/bastyp/tabcol.cxx |    3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit eb9618162ca53f898673cb457c5768fda168208e
Author: Nigel Hawkins <n.hawkins at gmx.com>
Date:   Wed Mar 9 21:56:51 2011 +0000

    Fix build breakage caused by commit 6165ef7...

diff --git a/sw/inc/tabcol.hxx b/sw/inc/tabcol.hxx
index f5c3bed..59fa978 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 78581f8..fc4eb2c 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 ),


More information about the Libreoffice-commits mailing list