summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/atrftn.cxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-08-23 14:11:08 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-09-06 12:09:00 +0200
commit6327919bdf11fa781e2dab205cf9d5d728d89437 (patch)
tree85809d7f1d1c64bf1da090abdbac995546a6bea3 /sw/source/core/txtnode/atrftn.cxx
parentf8d63eb17343118bc6396776c595c78dda375d11 (diff)
sal_uInt16 to size_t
Change-Id: I64bc6daa0585686c4d337a5c32ed7009b96fae0c
Diffstat (limited to 'sw/source/core/txtnode/atrftn.cxx')
-rw-r--r--sw/source/core/txtnode/atrftn.cxx4
1 files changed, 2 insertions, 2 deletions
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 );