Hi<br><br>This patch replace SV_DECL_PTRARR_DEL by a simple ptr_vector in WW8ListManager.<br><br>I'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'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<WW8LSTInfo *>::iterator aIter = maLSTInfos.begin();<br>
aIter != maLSTInfos.end(); ++aIter)<br> {<br> if ((*aIter)->pNumRule && !(*aIter)->bUsedInDoc &&<br> (*aIter)->pNumRule->IsAutoRule())<br> {<br> rDoc.DelNumRule((*aIter)->pNumRule->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>