Some strange lines by taking a look at the bt of fdo#51916

David Tardon dtardon at redhat.com
Tue Jul 10 03:41:13 PDT 2012


Hi,

On Mon, Jul 09, 2012 at 02:13:06PM -0700, julien2412 wrote:
> Hello,
> 
> I retrieved the bt of fdo#51916 (see
> https://bugs.freedesktop.org/attachment.cgi?id=64049&action=edit)
> 
> By taking a looking at it, I noticed these :
> http://opengrok.libreoffice.org/xref/core/sw/source/core/docnode/ndtbl.cxx#1360
> new SwEndNode( aCellEndIdx, *pSttNd );
> No idea about this :-(

This is typical Writer obscurity :) SwNode's constructor adds itself to
the same SwNodes array as the other node (pSttNd). So this statement is
only executed for the side-effect.

D.


More information about the LibreOffice mailing list