From 198330a98b4c191933382661210c58ed636c0556 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Tue, 13 Nov 2007 14:24:24 +0000 Subject: INTEGRATION: CWS sb82 (1.6.38); FILE MERGED 2007/11/08 10:13:09 sb 1.6.38.1: #i83412# Avoid warnings about switch cases that are not valid enum values (wntmsci11). --- basic/source/sbx/sbxint.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'basic/source/sbx/sbxint.cxx') diff --git a/basic/source/sbx/sbxint.cxx b/basic/source/sbx/sbxint.cxx index 266eb6119e05..c86e24e3c995 100644 --- a/basic/source/sbx/sbxint.cxx +++ b/basic/source/sbx/sbxint.cxx @@ -4,9 +4,9 @@ * * $RCSfile: sbxint.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2007-06-27 14:30:50 $ + * last change: $Author: rt $ $Date: 2007-11-13 15:23:18 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -52,7 +52,7 @@ INT16 ImpGetInteger( const SbxValues* p ) SbxValues aTmp; INT16 nRes; start: - switch( p->eType ) + switch( +p->eType ) { case SbxNULL: SbxBase::SetError( SbxERR_CONVERSION ); @@ -241,7 +241,7 @@ void ImpPutInteger( SbxValues* p, INT16 n ) { SbxValues aTmp; start: - switch( p->eType ) + switch( +p->eType ) { // hier muss getestet werden case SbxCHAR: @@ -411,7 +411,7 @@ sal_Int64 ImpGetInt64( const SbxValues* p ) SbxValues aTmp; sal_Int64 nRes; start: - switch( p->eType ) + switch( +p->eType ) { case SbxNULL: SbxBase::SetError( SbxERR_CONVERSION ); @@ -544,7 +544,7 @@ void ImpPutInt64( SbxValues* p, sal_Int64 n ) SbxValues aTmp; start: - switch( p->eType ) + switch( +p->eType ) { // Check neccessary case SbxCHAR: @@ -701,7 +701,7 @@ sal_uInt64 ImpGetUInt64( const SbxValues* p ) SbxValues aTmp; sal_uInt64 nRes; start: - switch( p->eType ) + switch( +p->eType ) { case SbxNULL: SbxBase::SetError( SbxERR_CONVERSION ); @@ -849,7 +849,7 @@ void ImpPutUInt64( SbxValues* p, sal_uInt64 n ) SbxValues aTmp; start: - switch( p->eType ) + switch( +p->eType ) { // Check neccessary case SbxCHAR: -- cgit