hwpfilter/source/hwpreader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit fca6d16394bdf11bfcc55d67e40f28f619e5e5ba Author: Andras Timar <[email protected]> Date: Wed Aug 8 10:27:00 2012 +0200 Fix windows build where min and max are macros Change-Id: I265e0fddc12a40cff0b6a6172bfca96eda0842ec Signed-off-by: Petr Mladek <[email protected]> diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx index 318d4f8..056495d 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<size_t>(drawobj->u.freeform.npt) < - (::std::numeric_limits<int>::max() / sizeof(double)))) + ((::std::numeric_limits<int>::max)() / sizeof(double)))) { int n, i; if( bIsNatural == sal_True ) _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
