https://bugs.documentfoundation.org/show_bug.cgi?id=100198

--- Comment #6 from Xisco FaulĂ­ <[email protected]> ---
Hi,
In order to investigate this issue, I reverted
68ccab350ca5b907f185c729e94a14df15fedc23, and I found that there 2 places where
a new SvgStyleAttribute object is created for attachment 125233:

git grep -F "new SvgStyleAttributes(*this)" svgio/
svgio/source/svgreader/svgnode.cxx:                mpLocalCssStyle = new
SvgStyleAttributes(*this);
svgio/source/svgreader/svgstylenode.cxx:                SvgStyleAttributes*
pNewStyle = new SvgStyleAttributes(*this);

one for the element's style attribute like style="stroke:#000000;" and the
other for the style node like:

<style
       type="text/css"
       id="style6">
*{stroke-linecap:butt;stroke-linejoin:round;}
  </style>

Could it be the cause why

            const SvgStyleAttributes* pSvgStyleAttributes = getParentStyle();

            if(pSvgStyleAttributes)
            {
                return pSvgStyleAttributes->getFontFamily();
            }

ends up in an infinite loop where the parent points to its child?

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

Reply via email to