Kaydet (Commit) 21b8cb7f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:loopvartoosmall

Change-Id: Ia314ea7e924b2096c121d9cfda2c64e6d523a987
üst 97a3ea0a
......@@ -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( "" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment