diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-09-21 22:03:02 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-09-21 22:06:44 +0200 |
commit | 6ba1a664a94cfbfbc7c280b15cee35122710ff86 (patch) | |
tree | 5df6f5b43fe57d33844dbf73d6bade25b88825b8 | |
parent | 6c7c11e2a8cbced9899f5a2da54215eaba92136e (diff) |
fuck you, SIZE_MAX. you'll rue the day i find out which .h defines you.
rue!!!
Change-Id: I9e2b05180ba64d1617b33423ceffc19bc996e335
-rw-r--r-- | sw/inc/unotbl.hxx | 5 |
1 files changed, 1 insertions, 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 <limits.h> -#include <stdint.h> - #include <com/sun/star/container/XNamed.hpp> #include <com/sun/star/container/XEnumerationAccess.hpp> #include <com/sun/star/util/XSortable.hpp> @@ -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; |