hwpfilter/source/hwpreader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 45d6f613425c6351146e7d6b33db5b51b1a19c94 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]> Signed-off-by: Fridrich Å trba <[email protected]> Signed-off-by: Tor Lillqvist <[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
