diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 16:51:12 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 16:51:12 +0000 |
commit | b61395a7af1aacf68c63990f4851c0fdfb862cee (patch) | |
tree | 475864dcc67fb642f063f5d996ac5feb804d483c /basic | |
parent | 1932eb8bf43ca0a476cabba2de3bd5031813bc15 (diff) |
INTEGRATION: CWS warnings01 (1.3.8); FILE MERGED
2006/05/23 19:12:14 sb 1.3.8.4: RESYNC: (1.4-1.5); FILE MERGED
2005/12/08 15:19:54 ab 1.3.8.3: #i53898# Removed os2/mac define usage
2005/11/07 17:40:09 pl 1.3.8.2: RESYNC: (1.3-1.4); FILE MERGED
2005/11/07 12:02:58 ab 1.3.8.1: #i53898# Removed warnings
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/sbx/sbxscan.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx index 6a2a80ce172b..0dbe2a40bcc0 100644 --- a/basic/source/sbx/sbxscan.cxx +++ b/basic/source/sbx/sbxscan.cxx @@ -4,9 +4,9 @@ * * $RCSfile: sbxscan.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: vg $ $Date: 2006-04-07 14:52:48 $ + * last change: $Author: hr $ $Date: 2006-06-19 17:51:12 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -41,8 +41,7 @@ #include "svtools/syslocale.hxx" -#pragma hdrstop -#if defined ( WTC ) || defined ( ICC ) || defined ( MAC ) || defined ( UNX ) +#if defined ( UNX ) #include <stdlib.h> #endif @@ -435,7 +434,6 @@ BOOL ImpConvStringExt( XubString& rSrc, SbxDataType eTargetType ) case SbxCURRENCY: { ByteString aBStr( rSrc, RTL_TEXTENCODING_ASCII_US ); - const char* pChar = aBStr.GetBuffer(); // Komma besorgen sal_Unicode cDecimalSep, cThousandSep; @@ -471,6 +469,7 @@ BOOL ImpConvStringExt( XubString& rSrc, SbxDataType eTargetType ) } break; } + default: break; } // String bei Aenderung uebernehmen if( bChanged ) @@ -653,7 +652,7 @@ public: void SbxValue::Format( XubString& rRes, const XubString* pFmt ) const { - short nComma; + short nComma = 0; double d; SbxDataType eType = GetType(); switch( eType ) |