[Libreoffice-commits] .: sw/inc

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Sep 21 10:06:56 PDT 2012


 sw/inc/unotbl.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 90d4f29d7e9e1294fc343baec275747e2c3c5b7b
Author: Michael Stahl <mstahl at redhat.com>
Date:   Fri Sep 21 19:05:12 2012 +0200

    "a function call cannot appear in a constant-expression"
    
    Change-Id: Ic1aecfb1071033d8e134649506f72c17833a206a

diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index 7c7f166..8b6c219 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;


More information about the Libreoffice-commits mailing list