31.01.2012 21:12, Noel Power пишет:
should remove the first occurrence, care to fix ?
so the exact equivalent of
mpSdCustomShow->Remove(pPage->GetSdrPage())
will be:
SdCustomShow::PageVec::iterator it = std::find(
mpSdCustomShow->PagesVector().begin(),
mpSdCustomShow->PagesVector().end(),
pPage->GetSdrPage());
if (it != mpSdCustomShow->PagesVector().end())
mpSdCustomShow->PagesVector().erase(it);
right?
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice