diff options
author | Daniel Boelzle <dbo@openoffice.org> | 2001-12-14 12:19:51 +0000 |
---|---|---|
committer | Daniel Boelzle <dbo@openoffice.org> | 2001-12-14 12:19:51 +0000 |
commit | b33cf704ef9f340a3c5a68be5115f682148d3086 (patch) | |
tree | f76159164645c09d890fcfa9d2f1b617383406a6 /cppuhelper/source/interfacecontainer.cxx | |
parent | 31a3fcc0c11f681942c00da311247b8bb6fea753 (diff) |
#88919# access control
Diffstat (limited to 'cppuhelper/source/interfacecontainer.cxx')
-rw-r--r-- | cppuhelper/source/interfacecontainer.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cppuhelper/source/interfacecontainer.cxx b/cppuhelper/source/interfacecontainer.cxx index d6cbb1aa0f06..276e64fb215b 100644 --- a/cppuhelper/source/interfacecontainer.cxx +++ b/cppuhelper/source/interfacecontainer.cxx @@ -2,9 +2,9 @@ * * $RCSfile: interfacecontainer.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: dbo $ $Date: 2001-06-07 11:11:29 $ + * last change: $Author: dbo $ $Date: 2001-12-14 13:19:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -458,9 +458,9 @@ Sequence< Type > OMultiTypeInterfaceContainerHelper::getContainedTypes() const if( ((OInterfaceContainerHelper*)(*iter).second)->getLength() ) // yes, put the type in the array pArray[i++] = (*iter).first; - iter++; + ++iter; } - if( i != nSize ) { + if( (t_type2ptr::size_type)i != nSize ) { // may be empty container, reduce the sequence to the right size aInterfaceTypes = ::com::sun::star::uno::Sequence< Type >( pArray, i ); } @@ -614,9 +614,9 @@ Sequence< sal_Int32 > OMultiTypeInterfaceContainerHelperInt32::getContainedTypes if( ((OInterfaceContainerHelper*)(*iter).second)->getLength() ) // yes, put the type in the array pArray[i++] = (*iter).first; - iter++; + ++iter; } - if( i != nSize ) { + if( (t_long2ptr::size_type)i != nSize ) { // may be empty container, reduce the sequence to the right size aInterfaceTypes = ::com::sun::star::uno::Sequence< sal_Int32 >( pArray, i ); } |