diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-11-13 14:22:11 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-11-13 14:22:11 +0000 |
commit | 9199e224accd56246fb219fc7449e3168986419d (patch) | |
tree | 8c2eceb3113fe2f81daa315a5a474ec5acd22e5c /basic/source | |
parent | d2fb3440588604adffd8fc348d9acbe2d75e4e8a (diff) |
INTEGRATION: CWS sb82 (1.5.38); FILE MERGED
2007/11/08 10:13:09 sb 1.5.38.1: #i83412# Avoid warnings about switch cases that are not valid enum values (wntmsci11).
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/sbx/sbxcurr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxcurr.cxx b/basic/source/sbx/sbxcurr.cxx index de0c6d2de806..eb15713a65f5 100644 --- a/basic/source/sbx/sbxcurr.cxx +++ b/basic/source/sbx/sbxcurr.cxx @@ -4,9 +4,9 @@ * * $RCSfile: sbxcurr.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: hr $ $Date: 2007-06-27 14:29:03 $ + * last change: $Author: rt $ $Date: 2007-11-13 15:22:11 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -58,7 +58,7 @@ SbxINT64 ImpGetCurrency( const SbxValues* p ) SbxValues aTmp; SbxINT64 nRes; start: - switch( p->eType ) + switch( +p->eType ) { case SbxNULL: SbxBase::SetError( SbxERR_CONVERSION ); @@ -193,7 +193,7 @@ void ImpPutCurrency( SbxValues* p, const SbxINT64 &r ) double dVal = ImpCurrencyToDouble( r ); SbxValues aTmp; start: - switch( p->eType ) + switch( +p->eType ) { // Hier sind Tests notwendig case SbxCHAR: |