summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxlng.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 16:50:48 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 16:50:48 +0000
commitb880cd3c4a7cb44b958dbc2908b40e5c0fcadd98 (patch)
treeffa4eb16fb9c57d348ab0325cad112b6257e972a /basic/source/sbx/sbxlng.cxx
parent4363b768610e20cc6fe4640795fe0e461edbc6d5 (diff)
INTEGRATION: CWS warnings01 (1.3.28); FILE MERGED
2005/11/07 12:02:57 ab 1.3.28.1: #i53898# Removed warnings
Diffstat (limited to 'basic/source/sbx/sbxlng.cxx')
-rw-r--r--basic/source/sbx/sbxlng.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxlng.cxx b/basic/source/sbx/sbxlng.cxx
index ac9d40b7f5..f54be0fe6e 100644
--- a/basic/source/sbx/sbxlng.cxx
+++ b/basic/source/sbx/sbxlng.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sbxlng.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 21:50:52 $
+ * last change: $Author: hr $ $Date: 2006-06-19 17:50:48 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -329,11 +329,11 @@ start:
case SbxBYREF | SbxCURRENCY:
if( n > SbxMAXCURR )
{
- SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMAXCURR;
+ SbxBase::SetError( SbxERR_OVERFLOW ); n = sal::static_int_cast<INT32>( SbxMAXCURR );
}
else if( n < SbxMINCURR )
{
- SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMINCURR;
+ SbxBase::SetError( SbxERR_OVERFLOW ); n = sal::static_int_cast<INT32>( SbxMINCURR );
}
*p->pLong64 = ImpDoubleToCurrency( (double)n ); break;