[Libreoffice] [PATCH] convert SdPresLayoutDlg from tools/list.hxx to std::map

Noel Grandin noel at peralex.com
Wed Feb 1 03:59:58 PST 2012



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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120201/21f20e52/attachment.htm>


More information about the LibreOffice mailing list