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

          Priority: high
            Bug ID: 83983
          Assignee: [email protected]
           Summary: FILEOPEN: Regression in 4.4 master loading an ODT
                    which contains a style with
                    style:font-independent-line-spacing="true"
          Severity: major
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.4.0.0.alpha0+ Master
         Component: filters and storage
           Product: LibreOffice

The following file loads and displays correctly in LO 4.3.0.1, but fails to
load at all in 4.4 master (observed on both OSX and Linux):

https://bugs.freedesktop.org/attachment.cgi?id=106116
(from bug 83755)



On 4.4 master, instead of loading, it throws up a dialog containing:

"Read-Error. Error reading file."

and outputs the following console log message (in a debug build):

warn:legacy.osl:25295:1:sw/source/filter/xml/swxml.cxx:268: uno exception
caught while importing:
Unknown property: FontIndependentLineSpacing



The offending XML within the ODT appears to be this:

<style:paragraph-properties ..... style:font-independent-line-spacing="true"/>

(see the attached minimised example, which likewise loads in 4.3.0.1 but not
4.4 master)



Bisecting backwards, the dialog starts to appear as of:

commit b0f54746be824343379ea957d4220102e14c0f75
Author: Caolán McNamara <[email protected]>
Date:   Fri Jul 18 13:38:25 2014 +0100

    coverity#1224992 Uncaught exception



However, this is not the cause of the bug, but merely converts a fatal
exception into a non-fatal error. Further back, the actual failure to load is
introduced by:


commit 7d9bb549d498d6beed2c4050c402d09643febdfa
Author: Armin Le Grand <[email protected]>
Date:   Mon Jun 2 15:00:50 2014 +0000

    Related: #i124638# Second step of DrawingLayer FillAttributes...


Even before this commit, there is a further issue that the rendering of the
original document is no longer correct. I haven't narrowed down exactly where
that broke.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to