summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-08-08 10:27:00 +0200
committerPetr Mladek <pmladek@suse.cz>2012-08-08 14:52:02 +0200
commit45d6f613425c6351146e7d6b33db5b51b1a19c94 (patch)
tree00788459390c1481823082dd4249751f00bc505b
parentbump product version to 3.5.6.2+ (aka rc2+) (diff)
downloadcore-libreoffice-3-5-6.tar.gz
core-libreoffice-3-5-6.zip
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.cxx2
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 )