diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-22 10:07:20 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-22 10:07:20 +0000 |
commit | f1301cf7aae88ed50861f6aa9d39798fec310bfc (patch) | |
tree | fed2edc04f9440b99db6365b7fd5b2e4ec039b91 /bridges/source/cpp_uno/gcc3_linux_sparc | |
parent | d785bff76dffca5714f2f923c7ca3399b70d57ab (diff) |
INTEGRATION: CWS jw2 (1.11.18); FILE MERGED
2006/11/09 03:12:52 sparcmoz 1.11.18.1: #i71180#: remove warnings for gcc 4.1.2
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_sparc')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx index 7fd28a0f054d..fbb10effdb2b 100644 --- a/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx @@ -4,9 +4,9 @@ * * $RCSfile: cpp2uno.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: obo $ $Date: 2006-09-16 15:49:29 $ + * last change: $Author: vg $ $Date: 2006-11-22 11:07:20 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -124,6 +124,8 @@ static typelib_TypeClass cpp2uno_call( } pCppStack += sizeof (sal_Int32); // extra long break; + default: + break; } } // no longer needed @@ -512,7 +514,7 @@ void ** bridges::cpp_uno::shared::VtableFactory::initializeBlock(void * block) { unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions( void ** slots, unsigned char * code, typelib_InterfaceTypeDescription const * type, sal_Int32 functionOffset, - sal_Int32 functionCount, sal_Int32 vTableOffset) + sal_Int32 /* functionCount */, sal_Int32 vTableOffset) { for (sal_Int32 i = 0; i < type->nMembers; ++i) { typelib_TypeDescription * member = 0; |