On 2012-02-01 13:58, Noel Power wrote:
e.g. I removed the maLayoutNames.clear() from :~SdPresLayoutDlg() as
the vector will go out of scope here anyway and delete the container
contents.
Really?
I wasn't sure about that - the boost documentation isn't that great.
So I scanned the LibO codebase and other places that use a ptr_vector
are doing clear().
Disclaimer: http://www.peralex.com/disclaimer.html
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice