From 6ba1a664a94cfbfbc7c280b15cee35122710ff86 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 21 Sep 2012 22:03:02 +0200 Subject: fuck you, SIZE_MAX. you'll rue the day i find out which .h defines you. rue!!! Change-Id: I9e2b05180ba64d1617b33423ceffc19bc996e335 --- sw/inc/unotbl.hxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx index 1d464ef2ae43..18a00290d93d 100644 --- a/sw/inc/unotbl.hxx +++ b/sw/inc/unotbl.hxx @@ -29,9 +29,6 @@ #ifndef SW_UNOTBL_HXX #define SW_UNOTBL_HXX -#include -#include - #include #include #include @@ -102,7 +99,7 @@ class SwXCell : public SwXCellBaseClass, // table position where pBox was found last size_t nFndPos; - static size_t const NOTFOUND = SIZE_MAX; + static size_t const NOTFOUND = SAL_MAX_SIZE; protected: virtual const SwStartNode *GetStartNode() const; -- cgit