diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-04-07 07:11:39 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-04-07 07:11:39 +0000 |
commit | ba0396de67b17be896dae336ca1a0ad3e02350ff (patch) | |
tree | 1816cb2d6b7aa62589425dc5aac44790f30a738c /xmloff | |
parent | 5da2aa5c2ed2dcc037ebfc90bf3696b15a0be21c (diff) |
INTEGRATION: CWS sixtyfour04 (1.40.66); FILE MERGED
2006/03/14 13:09:43 cmc 1.40.66.1: #i60372# fix scaling when exporting/importing on 64bit platforms
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/xmluconv.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/core/xmluconv.cxx b/xmloff/source/core/xmluconv.cxx index 9b17a37ccd..94ac51c61e 100644 --- a/xmloff/source/core/xmluconv.cxx +++ b/xmloff/source/core/xmluconv.cxx @@ -4,9 +4,9 @@ * * $RCSfile: xmluconv.cxx,v $ * - * $Revision: 1.40 $ + * $Revision: 1.41 $ * - * last change: $Author: hr $ $Date: 2005-10-27 15:53:26 $ + * last change: $Author: vg $ $Date: 2006-04-07 08:11:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -946,7 +946,7 @@ sal_Bool SvXMLUnitConverter::convertTime( double& fTime, bDone = sal_True; else if ( sal_Unicode('0') <= c && sal_Unicode('9') >= c ) { - if ( nTemp >= LONG_MAX / 10 ) + if ( nTemp >= SAL_MAX_INT32 / 10 ) bSuccess = sal_False; else { @@ -2192,7 +2192,7 @@ bool SvXMLUnitConverter::convertTimeDuration( const rtl::OUString& rString, Time { if ( bFractional ) { - if ( nSecondsFraction >= LONG_MAX / 10 ) + if ( nSecondsFraction >= SAL_MAX_INT32 / 10 ) bSuccess = false; else { @@ -2202,7 +2202,7 @@ bool SvXMLUnitConverter::convertTimeDuration( const rtl::OUString& rString, Time } else { - if ( nTemp >= LONG_MAX / 10 ) + if ( nTemp >= SAL_MAX_INT32 / 10 ) bSuccess = false; else { |