diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-11-13 14:21:39 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-11-13 14:21:39 +0000 |
commit | d2fb3440588604adffd8fc348d9acbe2d75e4e8a (patch) | |
tree | 8bec5e29f13cacb6292d02b4f2a27946f3988383 /basic | |
parent | 5e7401f11fde58036f468dcf1cfec2bb28ea192f (diff) |
INTEGRATION: CWS sb82 (1.7.38); FILE MERGED
2007/11/08 10:13:08 sb 1.7.38.1: #i83412# Avoid warnings about switch cases that are not valid enum values (wntmsci11).
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/sbx/sbxbyte.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxbyte.cxx b/basic/source/sbx/sbxbyte.cxx index 8877b15b4388..7e8cdb287b6a 100644 --- a/basic/source/sbx/sbxbyte.cxx +++ b/basic/source/sbx/sbxbyte.cxx @@ -4,9 +4,9 @@ * * $RCSfile: sbxbyte.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: hr $ $Date: 2007-06-27 14:28:21 $ + * last change: $Author: rt $ $Date: 2007-11-13 15:21:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -47,7 +47,7 @@ BYTE ImpGetByte( const SbxValues* p ) SbxValues aTmp; BYTE nRes; start: - switch( p->eType ) + switch( +p->eType ) { case SbxNULL: SbxBase::SetError( SbxERR_CONVERSION ); @@ -250,7 +250,7 @@ start: void ImpPutByte( SbxValues* p, BYTE n ) { - switch( p->eType ) + switch( +p->eType ) { case SbxBYTE: p->nByte = n; break; |