Hi<br><br>This patch replace SV_DECL_PTRARR_DEL by a simple ptr_vector in WW8ListManager.<br><br>I&#39;m not sure about this comment in the destructor, the object is always destroyed, I think we should use a ptr_vector too, or don&#39;t destroy unconditionally (*aIter).<br>


<br>/*<br>    named lists remain in doc!!!<br>    unnamed lists are deleted when unused<br>    pLFOInfos are in any case destructed<br>    */<br>    for(std::vector&lt;WW8LSTInfo *&gt;::iterator aIter = maLSTInfos.begin();<br>


        aIter != maLSTInfos.end(); ++aIter)<br>    {<br>        if ((*aIter)-&gt;pNumRule &amp;&amp; !(*aIter)-&gt;bUsedInDoc &amp;&amp;<br>            (*aIter)-&gt;pNumRule-&gt;IsAutoRule())<br>        {<br>            rDoc.DelNumRule((*aIter)-&gt;pNumRule-&gt;GetName());<br>


        }<br>        delete *aIter;<br>    }<br><br>Thanks in advance for reviewing<br><br>Best regards<br clear="all"><br>-- <br>Arnaud Versini<br>