https://issues.apache.org/ooo/show_bug.cgi?id=122912

            Bug ID: 122912
        Issue Type: DEFECT
           Summary: [SVG] Crash with special svg-image
           Product: Draw
           Version: AOO 4.0.0
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: code
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Created attachment 81215
  --> https://issues.apache.org/ooo/attachment.cgi?id=81215&action=edit
File to reproduce crash

The attached svg-documents has no viewBox on the outermost svg-element and an
inner svg-element with relative width. In resolving the relative width it gets
the outermost svg-element and then with getViewBox() its viewBox. But in this
case getViewBox() results Null, so that the following ->getWidth() crashes.

file: svgio\source\svgreader\svgsvgnode.cxx

I'm currently working in that area and want to discuss a solution.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to