Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 31/01/12 16:20, Ivan Timofeev wrote:
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?
god bless your eyes, I read that even now '->Remove(pPage" when scanning it as RemovePage and was wondering what you were on about. should remove the first occurrence, care to fix ?

Noel

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.