summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxuint.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-11-13 14:24:24 +0000
committerRüdiger Timm <rt@openoffice.org>2007-11-13 14:24:24 +0000
commit198330a98b4c191933382661210c58ed636c0556 (patch)
tree756b85b0e7d14d5660036f79f8508cbe1e406e20 /basic/source/sbx/sbxuint.cxx
parentaa49e87315810d793b457b720cbd6100af8bab6c (diff)
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).
Diffstat (limited to 'basic/source/sbx/sbxuint.cxx')
-rw-r--r--basic/source/sbx/sbxuint.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxuint.cxx b/basic/source/sbx/sbxuint.cxx
index 6b89023b97c6..421e42a2240a 100644
--- a/basic/source/sbx/sbxuint.cxx
+++ b/basic/source/sbx/sbxuint.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sbxuint.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 14:32:32 $
+ * last change: $Author: rt $ $Date: 2007-11-13 15:24:24 $
*
* 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 @@ UINT16 ImpGetUShort( const SbxValues* p )
SbxValues aTmp;
UINT16 nRes;
start:
- switch( p->eType )
+ switch( +p->eType )
{
case SbxNULL:
SbxBase::SetError( SbxERR_CONVERSION );
@@ -239,7 +239,7 @@ void ImpPutUShort( SbxValues* p, UINT16 n )
SbxValues aTmp;
start:
- switch( p->eType )
+ switch( +p->eType )
{
case SbxERROR:
case SbxUSHORT: