summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 09:41:12 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 09:41:12 +0000
commit6d1cbb24d4b2b76010360a86aa001c1ceedeef9f (patch)
treec48cc9d92fa85ce2d36ce2d40cdefece126c701f /idl
parent45819724bc58b21912ff2cfebd7cf05b87548156 (diff)
INTEGRATION: CWS warnings01 (1.2.8); FILE MERGED
2006/02/27 09:35:57 sb 1.2.8.2: #i53898# Made code waring-free. 2005/10/14 11:27:19 sb 1.2.8.1: #i53898# Made code warning-free.
Diffstat (limited to 'idl')
-rw-r--r--idl/source/cmptools/char.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/idl/source/cmptools/char.cxx b/idl/source/cmptools/char.cxx
index ceeeab83a595..88b6e298871f 100644
--- a/idl/source/cmptools/char.cxx
+++ b/idl/source/cmptools/char.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: char.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 17:48:12 $
+ * last change: $Author: hr $ $Date: 2006-06-19 10:41:12 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -42,7 +42,6 @@
#endif
#include <char.hxx>
-#pragma hdrstop
/****************** D A T E N ********************************************/
static unsigned char EqualTab[ 256 ] = {
@@ -94,7 +93,7 @@ char * SvChar::GetTable( CharSet nSource , CharSet nDest )
pCharTable = new Table();
BYTE * pSet;
- pSet = (BYTE *)pCharTable->Get( (ULONG)nSource << 16 + (ULONG)nDest );
+ pSet = (BYTE *)pCharTable->Get( ((ULONG)nSource << 16) + (ULONG)nDest );
if( !pSet )
{
@@ -106,7 +105,7 @@ char * SvChar::GetTable( CharSet nSource , CharSet nDest )
if( c )
pSet[ i ] = (BYTE)c;
}
- pCharTable->Insert( (ULONG)nSource << 16 + (ULONG)nDest, pSet );
+ pCharTable->Insert( ((ULONG)nSource << 16) + (ULONG)nDest, pSet );
}
return (char *)pSet;