summaryrefslogtreecommitdiffstats
path: root/basic/source/sbx/sbxint.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/sbxint.cxx
parentINTEGRATION: CWS sb82 (1.10.38); FILE MERGED (diff)
downloadcore-198330a98b4c191933382661210c58ed636c0556.tar.gz
core-198330a98b4c191933382661210c58ed636c0556.zip
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/sbxint.cxx')
-rw-r--r--basic/source/sbx/sbxint.cxx16
1 files changed, 8 insertions, 8 deletions
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: