summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-09-21 19:05:12 +0200
committerMichael Stahl <mstahl@redhat.com>2012-09-21 19:05:12 +0200
commit90d4f29d7e9e1294fc343baec275747e2c3c5b7b (patch)
tree6e7a74abd17236f2cb6aa2fc523e73012e372b7c /sw
parent8e72fd8866fbef881a12049fd4ca87f5dea8d671 (diff)
"a function call cannot appear in a constant-expression"
Change-Id: Ic1aecfb1071033d8e134649506f72c17833a206a
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/unotbl.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index 7c7f166db0b0..8b6c219aca16 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -98,7 +98,7 @@ class SwXCell : public SwXCellBaseClass,
// table position where pBox was found last
size_t nFndPos;
- static size_t const NOTFOUND = ::std::numeric_limits<size_t>::max();
+ static size_t const NOTFOUND = SIZE_MAX;
protected:
virtual const SwStartNode *GetStartNode() const;