Kaydet (Commit) 47784993 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS sixtyfour04 (1.9.86); FILE MERGED

2006/03/14 13:09:42 cmc 1.9.86.1: #i60372# fix scaling when exporting/importing on 64bit platforms
üst f45a3c76
......@@ -4,9 +4,9 @@
*
* $RCSfile: xmlehelp.cxx,v $
*
* $Revision: 1.9 $
* $Revision: 1.10 $
*
* last change: $Author: hr $ $Date: 2005-09-23 11:44:26 $
* last change: $Author: vg $ $Date: 2006-04-07 08:11:21 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -182,7 +182,7 @@ void SvXMLExportHelper::AddLength( long nValue, MapUnit eValueUnit,
long nLongVal;
BOOL bOutLongVal = TRUE;
if( nValue > LONG_MAX / nMul )
if( nValue > SAL_MAX_INT32 / nMul )
{
// A big int is required for calculation
BigInt nBigVal( nValue );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment