Kaydet (Commit) a2791f97 authored tarafından Julien Nabet's avatar Julien Nabet

Bin intermediate iterator again

Change-Id: I6c3410e4043f6a10474f955434e8c855f60ecc80
üst 6ef19375
...@@ -263,9 +263,7 @@ void ToggleButtonToolbarController::executeControlCommand( const ::com::sun::sta ...@@ -263,9 +263,7 @@ void ToggleButtonToolbarController::executeControlCommand( const ::com::sun::sta
{ {
if ( m_aDropdownMenuList[j] == aText ) if ( m_aDropdownMenuList[j] == aText )
{ {
std::vector< OUString >::iterator aIter = m_aDropdownMenuList.begin(); m_aDropdownMenuList.erase(m_aDropdownMenuList.begin() + j);
aIter += j;
m_aDropdownMenuList.erase( aIter );
break; break;
} }
} }
......
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