summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-09-21 22:03:02 +0200
committerMichael Stahl <mstahl@redhat.com>2012-09-21 22:06:44 +0200
commit6ba1a664a94cfbfbc7c280b15cee35122710ff86 (patch)
tree5df6f5b43fe57d33844dbf73d6bade25b88825b8
parent6c7c11e2a8cbced9899f5a2da54215eaba92136e (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.hxx5
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;