[Libreoffice] [PATCH V2] convert SdCustomShow from tools/list to vector

Noel Grandin noel at peralex.com
Tue Jan 31 08:10:57 PST 2012


thanks, still working out how this STL stuff hangs together.

On 2012-01-31 17:55, Ivan Timofeev wrote:
> 31.01.2012 19:42, Noel Grandin пишет:
>> So I should be calling
>> maPages.erase( std::find(maPages.begin(), maPages.end(), pOldPage) );
>> ??
>
> maPages.erase( std::remove(maPages.begin(), maPages.end(), pOldPage), 
> maPages.end() );
>
> I'll fix that.
>
> Ivan
>

Disclaimer: http://www.peralex.com/disclaimer.html




More information about the LibreOffice mailing list