diff options
author | Andras Timar <atimar@suse.com> | 2012-08-08 10:27:00 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-08-08 10:27:00 +0200 |
commit | c5ce5b73b9007309ba8f62a54305071d170baa00 (patch) | |
tree | d351cfbb73e526e074b05de59620cd520a62d539 /hwpfilter | |
parent | 011e348e114c1cc4ccdf6ce8e17024c81b9a0e6a (diff) |
Fix windows build where min and max are macros
Change-Id: I265e0fddc12a40cff0b6a6172bfca96eda0842ec
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hwpreader.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx index ce894ab64eb0..44e85441f26c 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; |