diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 22:03:54 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 22:03:54 +0000 |
commit | 681286ba7c930d2eacfb713435c01a5d75deebef (patch) | |
tree | 93da0dbc2d897a58f6d707ab21e70dc757daa442 /toolkit | |
parent | 271ddd024820336776ab3586f89c4d53c2253c99 (diff) |
INTEGRATION: CWS warnings01 (1.3.26); FILE MERGED
2005/10/25 15:56:10 mt 1.3.26.1: #i55991# Warning Free Code
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/controls/stdtabcontrollermodel.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/toolkit/source/controls/stdtabcontrollermodel.cxx b/toolkit/source/controls/stdtabcontrollermodel.cxx index 7639a3f09cfe..277989ea31cb 100644 --- a/toolkit/source/controls/stdtabcontrollermodel.cxx +++ b/toolkit/source/controls/stdtabcontrollermodel.cxx @@ -4,9 +4,9 @@ * * $RCSfile: stdtabcontrollermodel.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2005-09-09 13:18:35 $ + * last change: $Author: hr $ $Date: 2006-06-19 23:03:54 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -326,7 +326,7 @@ void StdTabControllerModel::getGroup( sal_Int32 nGroup, ::com::sun::star::uno::S UnoControlModelEntry* pEntry = maControls.GetObject( n ); if ( pEntry->bGroup ) { - if ( nG == nGroup ) + if ( nG == (sal_uInt32)nGroup ) { sal_uInt32 nCount = ImplGetControlCount( *pEntry->pGroup ); aSeq = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > >( nCount ); @@ -398,8 +398,6 @@ void StdTabControllerModel::read( const ::com::sun::star::uno::Reference< ::com: { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); - short nVersion = InStream->readShort(); - ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > > aSeq = ImplReadControls( InStream ); setControlModels( aSeq ); |