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() ))
|
||||
{
|
||||
std::vector< OUString >::iterator aIter = m_aDropdownMenuList.begin();
|
||||
aIter += nPos;
|
||||
m_aDropdownMenuList.erase( aIter );
|
||||
m_aDropdownMenuList.erase(m_aDropdownMenuList.begin() + nPos);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user