hwpfilter/source/hwpreader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c5ce5b73b9007309ba8f62a54305071d170baa00 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 diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx index ce894ab..44e8544 100644 --- a/hwpfilter/source/hwpreader.cxx +++ b/hwpfilter/source/hwpreader.cxx @@ -4351,7 +4351,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; n = drawobj->u.freeform.npt; _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
