summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-11-13 14:21:21 +0000
committerRüdiger Timm <rt@openoffice.org>2007-11-13 14:21:21 +0000
commit5e7401f11fde58036f468dcf1cfec2bb28ea192f (patch)
treead3df8ba09fd87bb6abf6e046cab9f0a4704e7ff /basic
parent1f749dbeec0e1239076d2ac9b9395e21a16e4ffc (diff)
INTEGRATION: CWS sb82 (1.6.38); FILE MERGED
2007/11/08 10:13:08 sb 1.6.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/sbxbool.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxbool.cxx b/basic/source/sbx/sbxbool.cxx
index a8d61b5e6750..3d7c148ab238 100644
--- a/basic/source/sbx/sbxbool.cxx
+++ b/basic/source/sbx/sbxbool.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sbxbool.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 14:28:05 $
+ * last change: $Author: rt $ $Date: 2007-11-13 15:21:21 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -51,7 +51,7 @@ using namespace rtl;
enum SbxBOOL ImpGetBool( const SbxValues* p )
{
enum SbxBOOL nRes;
- switch( p->eType )
+ switch( +p->eType )
{
case SbxNULL:
SbxBase::SetError( SbxERR_CONVERSION );
@@ -175,7 +175,7 @@ void ImpPutBool( SbxValues* p, INT16 n )
{
if( n )
n = SbxTRUE;
- switch( p->eType )
+ switch( +p->eType )
{
case SbxCHAR:
p->nChar = (xub_Unicode) n; break;