diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-11-13 14:22:26 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-11-13 14:22:26 +0000 |
commit | 0718b8d34678b408ef2035388274bfa3ccd91e52 (patch) | |
tree | 984c99c6d9263fa956561d3ed05791283a3b8f25 /basic | |
parent | 9199e224accd56246fb219fc7449e3168986419d (diff) |
INTEGRATION: CWS sb82 (1.9.38); FILE MERGED
2007/11/08 10:13:09 sb 1.9.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/sbxdate.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxdate.cxx b/basic/source/sbx/sbxdate.cxx index 9a863f0e6516..dbdf2c43f588 100644 --- a/basic/source/sbx/sbxdate.cxx +++ b/basic/source/sbx/sbxdate.cxx @@ -4,9 +4,9 @@ * * $RCSfile: sbxdate.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: hr $ $Date: 2007-06-27 14:29:19 $ + * last change: $Author: rt $ $Date: 2007-11-13 15:22:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -63,7 +63,7 @@ double ImpGetDate( const SbxValues* p ) { double nRes; - switch( p->eType ) + switch( +p->eType ) { case SbxNULL: SbxBase::SetError( SbxERR_CONVERSION ); @@ -221,7 +221,7 @@ void ImpPutDate( SbxValues* p, double n ) SbxValues aTmp; start: - switch( p->eType ) + switch( +p->eType ) { case SbxDATE: case SbxDOUBLE: |