[Libreoffice] [PATCH V2] convert SdCustomShow from tools/list to vector
Ivan Timofeev
timofeev.i.s at gmail.com
Tue Jan 31 08:20:14 PST 2012
31.01.2012 19:55, Ivan Timofeev пишет:
> I'll fix that.
Hum; guys, what about
- mpSdCustomShow->Remove(pPage->GetSdrPage());
+ ::std::remove(mpSdCustomShow->PagesVector().begin(),
mpSdCustomShow->PagesVector().end(),
+ pPage->GetSdrPage());
mpSdCustomShow->Remove(pPage->GetSdrPage()); <- using the pointer as the
index??? Or it removes the first occurence of the page?
Ivan
More information about the LibreOffice
mailing list