Bin intermediate iterator
Change-Id: I6401adb29fc3fe4c8b7d420fc9bc325827ec4f21
This commit is contained in:
@@ -242,9 +242,7 @@ void ToggleButtonToolbarController::executeControlCommand( const ::com::sun::sta
|
|||||||
{
|
{
|
||||||
if ( nPos < sal_Int32( m_aDropdownMenuList.size() ))
|
if ( nPos < sal_Int32( m_aDropdownMenuList.size() ))
|
||||||
{
|
{
|
||||||
std::vector< OUString >::iterator aIter = m_aDropdownMenuList.begin();
|
m_aDropdownMenuList.erase(m_aDropdownMenuList.begin() + nPos);
|
||||||
aIter += nPos;
|
|
||||||
m_aDropdownMenuList.erase( aIter );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user