diff options
author | Juergen Schmidt <jsc@openoffice.org> | 2001-01-10 09:15:54 +0000 |
---|---|---|
committer | Juergen Schmidt <jsc@openoffice.org> | 2001-01-10 09:15:54 +0000 |
commit | a68b81bb6ea7c46819ed94a10f198d73c6909ff2 (patch) | |
tree | ff316c1d074f756efd322145040dc6afd877f414 /registry/source/reflread.cxx | |
parent | 93db0475102537655e621bbc54bdc1553009c675 (diff) |
remove warnings
Diffstat (limited to 'registry/source/reflread.cxx')
-rw-r--r-- | registry/source/reflread.cxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx index e0de4ebbc..8c2f6da8a 100644 --- a/registry/source/reflread.cxx +++ b/registry/source/reflread.cxx @@ -2,9 +2,9 @@ * * $RCSfile: reflread.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jsc $ $Date: 2000-10-09 11:54:41 $ + * last change: $Author: jsc $ $Date: 2001-01-10 10:15:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -263,17 +263,17 @@ public: CPInfoTag readTag(sal_uInt16 index); - const sal_Char* readUTF8NameConstant(sal_uInt16 index); - sal_Bool readBOOLConstant(sal_uInt16 index); - sal_uInt8 readBYTEConstant(sal_uInt16 index); - sal_Int16 readINT16Constant(sal_uInt16 index); - sal_uInt16 readUINT16Constant(sal_uInt16 index); - sal_Int32 readINT32Constant(sal_uInt16 index); - sal_uInt32 readUINT32Constant(sal_uInt16 index); - float readFloatConstant(sal_uInt16 index); - double readDoubleConstant(sal_uInt16 index); + const sal_Char* readUTF8NameConstant(sal_uInt16 index); + sal_Bool readBOOLConstant(sal_uInt16 index); + sal_uInt8 readBYTEConstant(sal_uInt16 index); + sal_Int16 readINT16Constant(sal_uInt16 index); + sal_uInt16 readUINT16Constant(sal_uInt16 index); + sal_Int32 readINT32Constant(sal_uInt16 index); + sal_uInt32 readUINT32Constant(sal_uInt16 index); + float readFloatConstant(sal_uInt16 index); + double readDoubleConstant(sal_uInt16 index); const sal_Unicode* readStringConstant(sal_uInt16 index); - void readUIK(sal_uInt16 index, RTUik* uik); + void readUIK(sal_uInt16 index, RTUik* uik); }; ConstantPool::~ConstantPool() @@ -863,7 +863,7 @@ public: const sal_Char* getMethodDoku(sal_uInt16 index); private: - sal_uInt8 calcMethodParamIndex( const sal_uInt8 index ); + sal_uInt16 calcMethodParamIndex( const sal_uInt16 index ); }; MethodList::~MethodList() @@ -871,7 +871,7 @@ MethodList::~MethodList() if (m_pIndex) delete[] m_pIndex; } -sal_uInt8 MethodList::calcMethodParamIndex( const sal_uInt8 index ) +sal_uInt16 MethodList::calcMethodParamIndex( const sal_uInt16 index ) { return (METHOD_OFFSET_PARAM_COUNT + sizeof(sal_uInt16) + (index * m_PARAM_ENTRY_SIZE)); } |