summaryrefslogtreecommitdiff
path: root/basic/source
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 16:43:20 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 16:43:20 +0000
commitc0743fe994c8c02af207753a6497757b12b63bac (patch)
treea51aadc0ee136770f8a3a55324bbba6fa3255c1b /basic/source
parent892ad8c2de84f2b3d0c883a86ae92a6b64b589a6 (diff)
INTEGRATION: CWS warnings01 (1.11.8); FILE MERGED
2005/11/07 12:02:46 ab 1.11.8.1: #i53898# Removed warnings
Diffstat (limited to 'basic/source')
-rw-r--r--basic/source/comp/symtbl.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/basic/source/comp/symtbl.cxx b/basic/source/comp/symtbl.cxx
index 34d93cfc2474..573aa74eec12 100644
--- a/basic/source/comp/symtbl.cxx
+++ b/basic/source/comp/symtbl.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: symtbl.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: hr $ $Date: 2005-09-29 16:17:05 $
+ * last change: $Author: hr $ $Date: 2006-06-19 17:43:20 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -34,7 +34,6 @@
************************************************************************/
#include "sbcomp.hxx"
-#pragma hdrstop
#include <stdio.h>
#include <string.h>
#include <ctype.h>
@@ -99,6 +98,7 @@ short SbiStringPool::Add( double n, SbxDataType t )
case SbxLONG: snprintf( buf, sizeof(buf), "%ld", (long) n ); break;
case SbxSINGLE: snprintf( buf, sizeof(buf), "%.6g", (float) n ); break;
case SbxDOUBLE: snprintf( buf, sizeof(buf), "%.16g", n ); break;
+ default: break;
}
return Add( String::CreateFromAscii( buf ) );
}
@@ -500,6 +500,9 @@ void SbiProcDef::setPropertyMode( PropertyMode ePropMode )
case PROPERTY_MODE_GET: aCompleteProcName.AppendAscii( "Get " ); break;
case PROPERTY_MODE_LET: aCompleteProcName.AppendAscii( "Let " ); break;
case PROPERTY_MODE_SET: aCompleteProcName.AppendAscii( "Set " ); break;
+ case PROPERTY_MODE_NONE:
+ DBG_ERROR( "Illegal PropertyMode PROPERTY_MODE_NONE" );
+ break;
}
aCompleteProcName += aName;
aName = aCompleteProcName;