[Libreoffice-bugs] [Bug 47436] FILEOPEN: Writer crashes when it opens an odt file produced by JasperReport

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 20 00:26:13 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=47436

--- Comment #6 from Szabolcs Dézsi <dezsiszabi at hotmail.com> 2012-04-19 15:26:13 PDT ---
Hi!

editeng/source/items/frmitems.cxx:1954

1951:   for (int n(0); n != SAL_N_ELEMENTS(aBorders); ++n)
1952:   {
1953:       editeng::SvxBorderLine* pLine = const_cast< editeng::SvxBorderLine*
>( GetLine( aBorders[n] ) );
1954:       pLine->SetStyle( eBorderStyle );
1956:   }

Here pLine is a NULL pointer, so calling its member function (SetStyle) causes
SIGSEGV.

Putting 'if( pLine )' before line 1954 causes LO to load the document.
Table boundaries are impossible to hide like you said.

Szabolcs

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Libreoffice-bugs mailing list