From 6327919bdf11fa781e2dab205cf9d5d728d89437 Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Sat, 23 Aug 2014 14:11:08 +0200 Subject: sal_uInt16 to size_t Change-Id: I64bc6daa0585686c4d337a5c32ed7009b96fae0c --- sw/source/core/txtnode/atrftn.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/core/txtnode/atrftn.cxx') diff --git a/sw/source/core/txtnode/atrftn.cxx b/sw/source/core/txtnode/atrftn.cxx index 5227ba9087ac..642fd6060dbf 100644 --- a/sw/source/core/txtnode/atrftn.cxx +++ b/sw/source/core/txtnode/atrftn.cxx @@ -51,7 +51,7 @@ namespace { rInvalid.clear(); - for( sal_uInt16 n = 0; n < ftnIdxs.size(); ++n ) + for( size_t n = 0; n < ftnIdxs.size(); ++n ) { SwTxtFtn* pTxtFtn = ftnIdxs[ n ]; if ( pTxtFtn != pExclude ) @@ -312,7 +312,7 @@ void SwTxtFtn::SetStartNode( const SwNodeIndex *pNewNode, bool bDelNode ) DELETEZ( m_pStartNode ); // loesche die Fussnote noch aus dem Array am Dokument - for( sal_uInt16 n = 0; n < pDoc->GetFtnIdxs().size(); ++n ) + for( size_t n = 0; n < pDoc->GetFtnIdxs().size(); ++n ) if( this == pDoc->GetFtnIdxs()[n] ) { pDoc->GetFtnIdxs().erase( pDoc->GetFtnIdxs().begin() + n ); -- cgit v1.2.3