Hi

> What i'm really doing is traversing the document and breaking out of the loop 
> whenever i encounter the Currently outlined entry. But it's not working 
> except for headings and tables. when I asked on IRC they told me 
> static_cast<..> doesn't work on SwOutlineContent. I would really appreciate 
> if anyone could guide me in the right direction about how can i achieve 
> this(when static cast is not working).
> 
When you were told on IRC that static cast is not working, a  logical reason 
can be, is that there are multiple objects, so you need to work around that.

As with many problems in our code, it is often a matter of trying, and seeing 
what happens. Gdb is your friend here, setting a breakpoint, and examining the 
state (and objects) of SwOutlineContent.

rgds
jan I
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to