diff options
author | Andras Timar <atimar@suse.com> | 2012-08-08 10:27:00 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2012-08-08 14:52:02 +0200 |
commit | 45d6f613425c6351146e7d6b33db5b51b1a19c94 (patch) | |
tree | 00788459390c1481823082dd4249751f00bc505b | |
parent | 72d3b35748be5dd418576b1bae447490d195ec93 (diff) |
Fix windows build where min and max are macros
libreoffice-3-5-6
Change-Id: I265e0fddc12a40cff0b6a6172bfca96eda0842ec
Signed-off-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
-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 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<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 ) |