diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 16:50:48 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 16:50:48 +0000 |
commit | 37cda12261c824ee627a73dfbe297ee737d27333 (patch) | |
tree | e3a612dbb36016b241a8d6385a3ed9f7945bb9af /basic/source/sbx/sbxlng.cxx | |
parent | 3790ad10f89f52b0de5c4599052e37444c21b515 (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.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxlng.cxx b/basic/source/sbx/sbxlng.cxx index 53300f295071..9c39ab975ee2 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; |