diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-16 10:13:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-16 10:13:14 +0200 |
commit | 21b8cb7ff4907c6ff4d79d892d10feec7557ed34 (patch) | |
tree | bfd5e43e9f3d2d9b9e41382298b207f83de9efb0 /svtools/source/control/breadcrumb.cxx | |
parent | 97a3ea0a2d9194003d67fb3f6bb6f1a5c145440b (diff) |
loplugin:loopvartoosmall
Change-Id: Ia314ea7e924b2096c121d9cfda2c64e6d523a987
Diffstat (limited to 'svtools/source/control/breadcrumb.cxx')
-rw-r--r-- | svtools/source/control/breadcrumb.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<VclPtr<FixedHyperlink>>::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<VclPtr<FixedHyperlink>>::size_type i = nSegments + 1; i < m_aLinks.size(); i++ ) { if( bClear ) m_aLinks[i]->SetText( "" ); |