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
commit3b0a94125f5d4e92c001565f1fdbbe1066b776e6 (patch)
tree5b1b4ab440a28be4a658170ecbadcef4cc281f28 /idl
parentd14bc98eaf56adaff230ac84d90008d24480048a (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 ceeeab83a5..88b6e29887 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;