include/tools/unqidx.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit ad0aec407d09711f58acbacbf6296ca53b760725 Author: Matteo Casalin <matteo.casa...@yahoo.com> Date: Wed Mar 2 08:30:10 2016 +0100 Fix error C2057: expected constant expression Change-Id: Ie345ede60c1204c38a1c157c6335e3ded81fc26f diff --git a/include/tools/unqidx.hxx b/include/tools/unqidx.hxx index dd66c300..8e979bf 100644 --- a/include/tools/unqidx.hxx +++ b/include/tools/unqidx.hxx @@ -19,8 +19,8 @@ #ifndef INCLUDED_TOOLS_UNQIDX_HXX #define INCLUDED_TOOLS_UNQIDX_HXX +#include <sal/types.h> #include <tools/toolsdllapi.h> -#include <limits> #include <map> class SAL_WARN_UNUSED TOOLS_DLLPUBLIC UniqueIndexImpl @@ -28,7 +28,7 @@ class SAL_WARN_UNUSED TOOLS_DLLPUBLIC UniqueIndexImpl public: typedef sal_uInt32 Index; enum { - IndexNotFound = std::numeric_limits<Index>::max() + IndexNotFound = SAL_MAX_UINT32 }; private: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits