From 45d6f613425c6351146e7d6b33db5b51b1a19c94 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Wed, 8 Aug 2012 10:27:00 +0200 Subject: Fix windows build where min and max are macros MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I265e0fddc12a40cff0b6a6172bfca96eda0842ec Signed-off-by: Petr Mladek Signed-off-by: Fridrich Štrba Signed-off-by: Tor Lillqvist --- hwpfilter/source/hwpreader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx index 318d4f8a9f2e..056495d012f5 100644 --- a/hwpfilter/source/hwpreader.cxx +++ b/hwpfilter/source/hwpreader.cxx @@ -4347,7 +4347,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox) if ((drawobj->u.freeform.npt > 2) && (static_cast(drawobj->u.freeform.npt) < - (::std::numeric_limits::max() / sizeof(double)))) + ((::std::numeric_limits::max)() / sizeof(double)))) { int n, i; if( bIsNatural == sal_True ) -- cgit