https://bugs.documentfoundation.org/show_bug.cgi?id=172714
Julien Nabet <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.documentfounda | |tion.org/show_bug.cgi?id=10 | |5933 CC| |heiko.tietze@documentfounda | |tion.org, | |[email protected] --- Comment #1 from Julien Nabet <[email protected]> --- I supposed it began with tdf#105933 Relevant bt: #0 SvXMLImport::GetFontDecls (this=0x556caee91f10) at /home/julien/lo/libreoffice/xmloff/source/core/xmlimp.cxx:1840 #1 0x00007f1722b1bd8a in XMLTextImportPropertyMapper::handleSpecialItem (this=0x556caee93430, rProperty=..., rProperties=std::__debug::vector of length 1, capacity 1 = {...}, rValue="DejaVu Sans", rUnitConverter=..., rNamespaceMap=...) at /home/julien/lo/libreoffice/xmloff/source/text/txtimppr.cxx:61 #2 0x00007f17229cc44f in SvXMLImportPropertyMapper::importXMLAttribute (this=0x556caee93430, rProperties=std::__debug::vector of length 1, capacity 1 = {...}, rUnitConverter=..., rNamespaceMap=..., nPropType=81920, nStartIdx=0, nEndIdx=56, xAttrContainer=empty uno::Reference, rAttrName="style:font-name-asian", aNamespaceURI="urn:oasis:names:tc:opendocument:xmlns:style:1.0", sValue="DejaVu Sans") at /home/julien/lo/libreoffice/xmloff/source/style/xmlimppr.cxx:268 #3 0x00007f17229cba38 in SvXMLImportPropertyMapper::importXML (this=0x556caee93430, rProperties=std::__debug::vector of length 1, capacity 1 = {...}, xAttrList=uno::Reference to (sax_fastparser::FastAttributeList *) 0x7f16c8028db8, rUnitConverter=..., rNamespaceMap=..., nPropType=81920, nStartIdx=0, nEndIdx=56) at /home/julien/lo/libreoffice/xmloff/source/style/xmlimppr.cxx:136 #4 0x00007f1722a1162f in SvXMLPropertySetContext::SvXMLPropertySetContext (this=0x556cab500240, rImp=..., xAttrList=uno::Reference to (sax_fastparser::FastAttributeList *) 0x7f16c8028db8, nFam=81920, rProps=std::__debug::vector of length 1, capacity 1 = {...}, pMap=0x556caee93430, nSIdx=-1, nEIdx=-1) at /home/julien/lo/libreoffice/xmloff/source/style/xmlprcon.cxx:45 #5 0x00007f1722922f6b in StylePropertiesContext::StylePropertiesContext (this=0x556cab500240, rImport=..., nElement=133640, xAttrList=uno::Reference to (sax_fastparser::FastAttributeList *) 0x7f16c8028db8, nFamily=81920, rProps=std::__debug::vector of length 1, capacity 1 = {...}, pMap=0x556caee93430) at /home/julien/lo/libreoffice/xmloff/source/style/StylePropertiesContext.cxx:23 #6 0x00007f172299779a in XMLPropStyleContext::createFastChildContext (this=0x556caeef7880, nElement=133640, xAttrList=uno::Reference to (sax_fastparser::FastAttributeList *) 0x7f16c8028db8) at /home/julien/lo/libreoffice/xmloff/source/style/prstylei.cxx:213 #7 0x00007f172264c5d3 in SvXMLImport::startFastElement (this=0x556caee91f10, Element=133640, Attribs=uno::Reference to (sax_fastparser::FastAttributeList *) 0x7f16c8028db8) at /home/julien/lo/libreoffice/xmloff/source/core/xmlimp.cxx:1008 #8 0x00007f1721f5e659 in (anonymous namespace)::Entity::startElement (this=0x556ca82909c0, pEvent=0x7f16c8011ed0) at /home/julien/lo/libreoffice/sax/source/fastparser/fastparser.cxx:473 #9 0x00007f1721f59371 in sax_fastparser::FastSaxParserImpl::consume (this=0x556cab83e0b0, rEventList=...) at /home/julien/lo/libreoffice/sax/source/fastparser/fastparser.cxx:1021 #10 0x00007f1721f58908 in sax_fastparser::FastSaxParserImpl::parseStream (this=0x556cab83e0b0, rStructSource=...) at /home/julien/lo/libreoffice/sax/source/fastparser/fastparser.cxx:863 #11 0x00007f1721f60889 in sax_fastparser::FastSaxParser::parseStream (this=0x556ca830de90, aInputSource=...) at /home/julien/lo/libreoffice/sax/source/fastparser/fastparser.cxx:1492 #12 0x00007f1722649a4c in SvXMLImport::parseStream (this=0x556caee91f10, aInputSource=...) at /home/julien/lo/libreoffice/xmloff/source/core/xmlimp.cxx:731 #13 0x00007f172b2d25ab in SvxAutoFormat::Load (this=0x556cae574bc0, bWriter=true) at /home/julien/lo/libreoffice/svx/source/table/tableautofmt.cxx:472 Since SetFontDecls is never called, GetFontDecls returns nullptr, then bRet in importXMLAttribute stays false and finally we get an error message. -- You are receiving this mail because: You are the assignee for the bug.
