[Libreoffice] [PATCH] sw: reset num level on SplitNode if parent is outline.

Caolán McNamara caolanm at redhat.com
Thu Dec 16 01:41:53 PST 2010


On Wed, 2010-12-15 at 08:03 -0800, Octavio Alvarez wrote:
> There is another section of the file that uses a similar code.
> 
> I'm not sure if I should also apply it there too:
> source/core/txtnode/ndtxt.cxx, SwTxtNode::AppendNode

Hmm, not sure either. Given the similarity of the two resets, it would
seem likely that both should be refactored into a
"resetListAttributes()" or something and that called in both cases.
Though it might be best if you can find an existing scenario that calls
that AppendNode that shows we need it.

C.



More information about the LibreOffice mailing list