From 21b8cb7ff4907c6ff4d79d892d10feec7557ed34 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 16 Jul 2015 10:13:14 +0200 Subject: loplugin:loopvartoosmall Change-Id: Ia314ea7e924b2096c121d9cfda2c64e6d523a987 --- svtools/source/control/breadcrumb.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools') diff --git a/svtools/source/control/breadcrumb.cxx b/svtools/source/control/breadcrumb.cxx index 8b43fa1a2e78..3685c1a0484a 100644 --- a/svtools/source/control/breadcrumb.cxx +++ b/svtools/source/control/breadcrumb.cxx @@ -23,7 +23,7 @@ Breadcrumb::~Breadcrumb() void Breadcrumb::dispose() { - for( unsigned int i = 0; i < m_aLinks.size(); i++ ) + for( std::vector>::size_type i = 0; i < m_aLinks.size(); i++ ) { m_aSeparators[i].disposeAndClear(); m_aLinks[i].disposeAndClear(); @@ -93,7 +93,7 @@ void Breadcrumb::SetURL( const OUString& rURL ) // clear unused fields - for( unsigned int i = nSegments + 1; i < m_aLinks.size(); i++ ) + for( std::vector>::size_type i = nSegments + 1; i < m_aLinks.size(); i++ ) { if( bClear ) m_aLinks[i]->SetText( "" ); -- cgit