Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Running CppunitTest_sw_ooxmlsdrexport with -fsanitize=float-divide-by-zero fails with

/home/sbergman/lo-clang/core/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx:305:56: 
runtime error: division by zero
    #0 0x2acf0a3111b5 in chart::wrapper::LegendWrapper::setPosition(com::sun::star::awt::Point 
const&) 
/home/sbergman/lo-clang/core/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx:305:37
    #1 0x2acf0a31195e in non-virtual thunk to 
chart::wrapper::LegendWrapper::setPosition(com::sun::star::awt::Point const&) 
/home/sbergman/lo-clang/core/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx:295:30
    #2 0x2aceacd8b3eb in 
SchXMLLegendContext::StartElement(com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList>
 const&) /home/sbergman/lo-clang/core/xmloff/source/chart/SchXMLLegendContext.cxx:192:9
    #3 0x2acead21f7a4 in SvXMLImport::startElement(rtl::OUString const&, 
com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&) 
/home/sbergman/lo-clang/core/xmloff/source/core/xmlimp.cxx:734:5
    #4 0x2acead222216 in non-virtual thunk to SvXMLImport::startElement(rtl::OUString const&, 
com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&) 
/home/sbergman/lo-clang/core/xmloff/source/core/xmlimp.cxx:634:28
    #5 0x2acebfae1fea in (anonymous namespace)::SaxExpatParser_Impl::callbackStartElement(void*, 
char const*, char const**) /home/sbergman/lo-clang/core/sax/source/expatwrap/sax_expat.cxx:788:1
    #6 0x2acebfac1054 in (anonymous namespace)::call_callbackStartElement(void*, char const*, char 
const**) /home/sbergman/lo-clang/core/sax/source/expatwrap/sax_expat.cxx:280:9
    #7 0x2acebfc957b6 in doContent 
/home/sbergman/lo-clang/core/workdir/UnpackedTarball/expat/lib/xmlparse.c:2469:11
    #8 0x2acebfc7c71e in contentProcessor 
/home/sbergman/lo-clang/core/workdir/UnpackedTarball/expat/lib/xmlparse.c:2105:27
    #9 0x2acebfc5f5e6 in doProlog 
/home/sbergman/lo-clang/core/workdir/UnpackedTarball/expat/lib/xmlparse.c:4016:14
    #10 0x2acebfc58deb in prologProcessor 
/home/sbergman/lo-clang/core/workdir/UnpackedTarball/expat/lib/xmlparse.c:3739:10
    #11 0x2acebfcbc6d5 in prologInitProcessor 
/home/sbergman/lo-clang/core/workdir/UnpackedTarball/expat/lib/xmlparse.c:3556:10
    #12 0x2acebfc41fcb in XML_ParseBuffer 
/home/sbergman/lo-clang/core/workdir/UnpackedTarball/expat/lib/xmlparse.c:1651:15
    #13 0x2acebfc3dd6e in XML_Parse 
/home/sbergman/lo-clang/core/workdir/UnpackedTarball/expat/lib/xmlparse.c:1617:14
    #14 0x2acebfac1a53 in (anonymous namespace)::SaxExpatParser_Impl::parse() 
/home/sbergman/lo-clang/core/sax/source/expatwrap/sax_expat.cxx:718:28
    #15 0x2acebfabf150 in (anonymous 
namespace)::SaxExpatParser::parseStream(com::sun::star::xml::sax::InputSource const&) 
/home/sbergman/lo-clang/core/sax/source/expatwrap/sax_expat.cxx:517:9
    #16 0x2acebfac0d8e in non-virtual thunk to (anonymous 
namespace)::SaxExpatParser::parseStream(com::sun::star::xml::sax::InputSource const&) 
/home/sbergman/lo-clang/core/sax/source/expatwrap/sax_expat.cxx:445:22
    #17 0x2acf11e82d3d in chart::XMLFilter::impl_ImportStream(rtl::OUString const&, rtl::OUString const&, 
com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XParser> 
const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiComponentFactory> const&, 
com::sun::star::uno::Reference<com::sun::star::document::XGraphicObjectResolver> const&, 
com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>&) /home/sbergman/lo-clang/core/chart2/source/model/filter/XMLFilter.cxx:512:17
    #18 0x2acf11e7acaf in 
chart::XMLFilter::impl_Import(com::sun::star::uno::Reference<com::sun::star::lang::XComponent> const&, 
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) 
/home/sbergman/lo-clang/core/chart2/source/model/filter/XMLFilter.cxx:406:37
    #19 0x2acf11e6dafd in 
chart::XMLFilter::filter(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> 
const&) /home/sbergman/lo-clang/core/chart2/source/model/filter/XMLFilter.cxx:238:13
    #20 0x2acf11e7c4de in non-virtual thunk to 
chart::XMLFilter::filter(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> 
const&) /home/sbergman/lo-clang/core/chart2/source/model/filter/XMLFilter.cxx:213:30
    #21 0x2acf12000440 in 
chart::ChartModel::impl_load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, 
com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&) 
/home/sbergman/lo-clang/core/chart2/source/model/main/ChartModel_Persistence.cxx:581:9
    #22 0x2acf12004941 in 
chart::ChartModel::loadFromStorage(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&, 
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) 
/home/sbergman/lo-clang/core/chart2/source/model/main/ChartModel_Persistence.cxx:757:5
    #23 0x2acf12004a36 in non-virtual thunk to 
chart::ChartModel::loadFromStorage(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&, 
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) 
/home/sbergman/lo-clang/core/chart2/source/model/main/ChartModel_Persistence.cxx:747:27
    #24 0x2acf08f86d0f in OCommonEmbeddedObject::LoadDocumentFromStorage_Impl() 
/home/sbergman/lo-clang/core/embeddedobj/source/commonembedding/persistence.cxx:535:13
    #25 0x2acf08f1208f in OCommonEmbeddedObject::SwitchStateTo_Impl(int) 
/home/sbergman/lo-clang/core/embeddedobj/source/commonembedding/embedobj.cxx:181:49
    #26 0x2acf08f1d697 in OCommonEmbeddedObject::changeState(int) 
/home/sbergman/lo-clang/core/embeddedobj/source/commonembedding/embedobj.cxx:467:17
    #27 0x2acf08ff3f23 in OCommonEmbeddedObject::setVisualAreaSize(long, com::sun::star::awt::Size 
const&) /home/sbergman/lo-clang/core/embeddedobj/source/commonembedding/visobj.cxx:57:9
    #28 0x2ace784b3df8 in SwWrtShell::CalcAndSetScale(svt::EmbeddedObjectRef&, SwRect const*, 
SwRect const*, bool) /home/sbergman/lo-clang/core/sw/source/uibase/wrtsh/wrtsh1.cxx:661:17
    #29 0x2ace747fe299 in SwCntntNotify::~SwCntntNotify() 
/home/sbergman/lo-clang/core/sw/source/core/layout/frmtool.cxx:885:29
    #30 0x2ace7391954d in SwNoTxtFrm::MakeAll() 
/home/sbergman/lo-clang/core/sw/source/core/doc/notxtfrm.cxx:480:1
    #31 0x2ace74682d5a in SwFrm::OptPrepareMake() 
/home/sbergman/lo-clang/core/sw/source/core/layout/calcmove.cxx:359:9
    #32 0x2ace748f4520 in SwFrm::OptCalc() const 
/home/sbergman/lo-clang/core/sw/source/core/inc/frame.hxx:1021:9
    #33 0x2ace749a2120 in SwObjectFormatter::_FormatObjCntnt(SwAnchoredObject&) 
/home/sbergman/lo-clang/core/sw/source/core/layout/objectformatter.cxx:274:9
    #34 0x2ace749a39ce in SwObjectFormatter::_FormatObj(SwAnchoredObject&) 
/home/sbergman/lo-clang/core/sw/source/core/layout/objectformatter.cxx:365:17
    #35 0x2ace749b81e6 in SwObjectFormatterTxtFrm::DoFormatObj(SwAnchoredObject&, bool) 
/home/sbergman/lo-clang/core/sw/source/core/layout/objectformattertxtfrm.cxx:133:9
    #36 0x2ace749a1a41 in SwObjectFormatter::FormatObj(SwAnchoredObject&, SwFrm*, SwPageFrm const*, 
SwLayAction*) /home/sbergman/lo-clang/core/sw/source/core/layout/objectformatter.cxx:224:20
    #37 0x2ace7563bb28 in SwTxtFlyCnt::_GetFlyFrm(SwFrm const*) 
/home/sbergman/lo-clang/core/sw/source/core/txtnode/atrflyin.cxx:254:5
    #38 0x2ace75280972 in SwTxtFlyCnt::GetFlyFrm(SwFrm const*) 
/home/sbergman/lo-clang/core/sw/inc/txtflcnt.hxx:48:12
    #39 0x2ace752732bf in SwTxtFormatter::NewFlyCntPortion(SwTxtFormatInfo&, SwTxtAttr*) const 
/home/sbergman/lo-clang/core/sw/source/core/text/itrform2.cxx:2490:42
    #40 0x2ace7545ed2f in SwTxtFormatter::NewExtraPortion(SwTxtFormatInfo&) 
/home/sbergman/lo-clang/core/sw/source/core/text/txtfld.cxx:370:20
    #41 0x2ace75241bfb in SwTxtFormatter::NewPortion(SwTxtFormatInfo&) 
/home/sbergman/lo-clang/core/sw/source/core/text/itrform2.cxx:1342:28
    #42 0x2ace7522f5f5 in SwTxtFormatter::BuildPortions(SwTxtFormatInfo&) 
/home/sbergman/lo-clang/core/sw/source/core/text/itrform2.cxx:380:27
    #43 0x2ace7525bf73 in SwTxtFormatter::FormatLine(int) 
/home/sbergman/lo-clang/core/sw/source/core/text/itrform2.cxx:1556:9
    #44 0x2ace750eccb5 in SwTxtFrm::FormatLine(SwTxtFormatter&, bool) 
/home/sbergman/lo-clang/core/sw/source/core/text/frmform.cxx:1134:33
    #45 0x2ace750f7257 in SwTxtFrm::_Format(SwTxtFormatter&, SwTxtFormatInfo&, bool) 
/home/sbergman/lo-clang/core/sw/source/core/text/frmform.cxx:1490:23
    #46 0x2ace750fa9cc in SwTxtFrm::_Format(SwParaPortion*) 
/home/sbergman/lo-clang/core/sw/source/core/text/frmform.cxx:1664:5
    #47 0x2ace751004da in SwTxtFrm::Format(SwBorderAttrs const*) 
/home/sbergman/lo-clang/core/sw/source/core/text/frmform.cxx:1811:17
    #48 0x2ace746a90b0 in SwCntntFrm::MakeAll() 
/home/sbergman/lo-clang/core/sw/source/core/layout/calcmove.cxx:1333:17
    #49 0x2ace74682d5a in SwFrm::OptPrepareMake() 
/home/sbergman/lo-clang/core/sw/source/core/layout/calcmove.cxx:359:9
    #50 0x2ace748f4520 in SwFrm::OptCalc() const 
/home/sbergman/lo-clang/core/sw/source/core/inc/frame.hxx:1021:9
    #51 0x2ace748e448e in SwLayAction::_FormatCntnt(SwCntntFrm const*, SwPageFrm const*) 
/home/sbergman/lo-clang/core/sw/source/core/layout/layact.cxx:1833:9
    #52 0x2ace748e46ab in SwLayAction::_FormatFlyCntnt(SwFlyFrm const*) 
/home/sbergman/lo-clang/core/sw/source/core/layout/layact.cxx:1846:9
    #53 0x2ace749a376d in SwObjectFormatter::_FormatObj(SwAnchoredObject&) 
/home/sbergman/lo-clang/core/sw/source/core/layout/objectformatter.cxx:355:17
    #54 0x2ace749b81e6 in SwObjectFormatterTxtFrm::DoFormatObj(SwAnchoredObject&, bool) 
/home/sbergman/lo-clang/core/sw/source/core/layout/objectformattertxtfrm.cxx:133:9
    #55 0x2ace749a4aff in SwObjectFormatter::_FormatObjsAtFrm(SwTxtFrm*) 
/home/sbergman/lo-clang/core/sw/source/core/layout/objectformatter.cxx:452:19
    #56 0x2ace749bd3bd in SwObjectFormatterTxtFrm::DoFormatObjs() 
/home/sbergman/lo-clang/core/sw/source/core/layout/objectformattertxtfrm.cxx:335:20
    #57 0x2ace749a1479 in SwObjectFormatter::FormatObjsAtFrm(SwFrm&, SwPageFrm const&, 
SwLayAction*) /home/sbergman/lo-clang/core/sw/source/core/layout/objectformatter.cxx:192:20
    #58 0x2ace748d300e in SwLayAction::FormatCntnt(SwPageFrm const*) 
/home/sbergman/lo-clang/core/sw/source/core/layout/layact.cxx:1662:19
    #59 0x2ace748bec1b in SwLayAction::InternalAction() 
/home/sbergman/lo-clang/core/sw/source/core/layout/layact.cxx:589:31
    #60 0x2ace748b8b78 in SwLayAction::Action() 
/home/sbergman/lo-clang/core/sw/source/core/layout/layact.cxx:370:5
    #61 0x2ace7682bb6f in SwViewShell::ImplEndAction(bool) 
/home/sbergman/lo-clang/core/sw/source/core/view/viewsh.cxx:269:9
    #62 0x2ace72b53d23 in SwViewShell::EndAction(bool) 
/home/sbergman/lo-clang/core/sw/inc/viewsh.hxx:619:9
    #63 0x2ace72af5747 in SwCrsrShell::EndAction(bool, bool) 
/home/sbergman/lo-clang/core/sw/source/core/crsr/crsrsh.cxx:257:18
    #64 0x2ace7800216a in SwView::OuterResizePixel(Point const&, Size const&) 
/home/sbergman/lo-clang/core/sw/source/uibase/uiview/viewport.cxx:1109:9
    #65 0x2ace9842d3d4 in SfxViewFrame::DoAdjustPosSizePixel(SfxViewShell*, Point const&, Size 
const&) /home/sbergman/lo-clang/core/sfx2/source/view/viewfrm.cxx:1624:13
    #66 0x2ace9844973f in SfxViewFrame::Resize(bool) 
/home/sbergman/lo-clang/core/sfx2/source/view/viewfrm.cxx:2537:17
    #67 0x2ace98468d6d in SfxFrameViewWindow_Impl::Resize() 
/home/sbergman/lo-clang/core/sfx2/source/view/viewfrm2.cxx:76:9
    #68 0x2ace5c60c73a in vcl::Window::ImplCallResize() 
/home/sbergman/lo-clang/core/vcl/source/window/event.cxx:454:5
    #69 0x2ace5cc7c856 in vcl::Window::Show(bool, unsigned short) 
/home/sbergman/lo-clang/core/vcl/source/window/window.cxx:2360:13
    #70 0x2ace983a0a89 in 
SfxBaseController::ConnectSfxFrame_Impl(SfxBaseController::ConnectSfxFrame) 
/home/sbergman/lo-clang/core/sfx2/source/view/sfxbasecontroller.cxx:1287:13
    #71 0x2ace9839c470 in 
SfxBaseController::attachFrame(com::sun::star::uno::Reference<com::sun::star::frame::XFrame> 
const&) /home/sbergman/lo-clang/core/sfx2/source/view/sfxbasecontroller.cxx:570:13
    #72 0x2ace983a797e in non-virtual thunk to 
SfxBaseController::attachFrame(com::sun::star::uno::Reference<com::sun::star::frame::XFrame> 
const&) /home/sbergman/lo-clang/core/sfx2/source/view/sfxbasecontroller.cxx:546:34
    #73 0x2ace9834c39a in (anonymous 
namespace)::SfxFrameLoader_Impl::impl_createDocumentView(com::sun::star::uno::Reference<com::sun::star::frame::XModel2> 
const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&, comphelper::NamedValueCollection 
const&, rtl::OUString const&) /home/sbergman/lo-clang/core/sfx2/source/view/frmload.cxx:608:5
    #74 0x2ace9834248c in (anonymous 
namespace)::SfxFrameLoader_Impl::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> 
const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) 
/home/sbergman/lo-clang/core/sfx2/source/view/frmload.cxx:726:13
    #75 0x2ace983439c6 in non-virtual thunk to (anonymous 
namespace)::SfxFrameLoader_Impl::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> 
const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) 
/home/sbergman/lo-clang/core/sfx2/source/view/frmload.cxx:615:40
    #76 0x2aceb3c4e9df in framework::LoadEnv::impl_loadContent() 
/home/sbergman/lo-clang/core/framework/source/loadenv/loadenv.cxx:1122:24
    #77 0x2aceb3c36fd5 in framework::LoadEnv::startLoading() 
/home/sbergman/lo-clang/core/framework/source/loadenv/loadenv.cxx:383:20
    #78 0x2aceb3c307fd in 
framework::LoadEnv::loadComponentFromURL(com::sun::star::uno::Reference<com::sun::star::frame::XComponentLoader> const&, 
com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, rtl::OUString const&, rtl::OUString 
const&, int, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) 
/home/sbergman/lo-clang/core/framework/source/loadenv/loadenv.cxx:164:9
    #79 0x2aceb3dbfe31 in framework::Desktop::loadComponentFromURL(rtl::OUString const&, rtl::OUString 
const&, int, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) 
/home/sbergman/lo-clang/core/framework/source/services/desktop.cxx:567:12
    #80 0x2aceb3dc009d in non-virtual thunk to framework::Desktop::loadComponentFromURL(rtl::OUString const&, 
rtl::OUString const&, int, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) 
/home/sbergman/lo-clang/core/framework/source/services/desktop.cxx:552:64
    #81 0x2ace7e5716bc in unotest::MacrosTest::loadFromDesktop(rtl::OUString const&, rtl::OUString 
const&) /home/sbergman/lo-clang/core/unotest/source/cpp/macros_test.cxx:42:51
    #82 0x2ace6d9175ea in SwModelTestBase::load(char const*, char const*) 
/home/sbergman/lo-clang/core/sw/qa/extras/inc/swmodeltestbase.hxx:597:23
    #83 0x2ace6d9232b1 in SwModelTestBase::executeImportTest(char const*) 
/home/sbergman/lo-clang/core/sw/qa/extras/inc/swmodeltestbase.hxx:224:13
    #84 0x2ace6d95d62b in fdo78474::Import() 
/home/sbergman/lo-clang/core/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx:1535:1

because aPageSize has width=height=0. The reason for that is that the queried (cf. ChartModelHelper::getPageSize, chart2/source/tools/ChartModelHelper.cxx) ChartModel's m_aVisualAreaSize has width=height=0 from the previous call to

#4  0x00002b91b82ee142 in chart::ChartModel::setVisualAreaSize (this=0x2b917bee2040, nAspect=1, 
aSize=...) at /home/sbergman/lo-product/core/chart2/source/model/main/ChartModel.cxx:1068
#5  0x00002b91b82ee267 in non-virtual thunk to chart::ChartModel::setVisualAreaSize(long, 
com::sun::star::awt::Size const&) () at 
/home/sbergman/lo-product/core/chart2/source/model/main/ChartModel.cxx:1048
#6  0x00002b918f4d584b in DocumentHolder::SetExtent (this=0x2b917bf7e340, nAspect=1, aSize=...) at 
/home/sbergman/lo-product/core/embeddedobj/source/general/docholder.cxx:1037
#7  0x00002b918f4c69dc in OCommonEmbeddedObject::setVisualAreaSize (this=0x2b917a9a4838, nAspect=1, 
aSize=...) at /home/sbergman/lo-product/core/embeddedobj/source/commonembedding/visobj.cxx:63
#8  0x00002b9172a44c77 in SvxOle2Shape::createObject (this=0x2b917a9cf010, aClassName=...) at 
/home/sbergman/lo-product/core/svx/source/unodraw/unoshap4.cxx:438
#9  0x00002b9172a43e97 in SvxOle2Shape::setPropertyValueImpl (this=0x2b917a9cf010, rName="CLSID", 
pProperty=0x815ff00, rValue=uno::Any "12dcae26-281f-416f-a234-c3086127382e") at 
/home/sbergman/lo-product/core/svx/source/unodraw/unoshap4.cxx:140
#10 0x00002b9172a56289 in SvxShape::_setPropertyValue (this=0x2b917a9cf010, rPropertyName="CLSID", 
rVal=uno::Any "12dcae26-281f-416f-a234-c3086127382e") at 
/home/sbergman/lo-product/core/svx/source/unodraw/unoshape.cxx:1674
#11 0x00002b9172a55f42 in SvxShape::setPropertyValue (this=0x2b917a9cf010, rPropertyName="CLSID", 
rVal=uno::Any "12dcae26-281f-416f-a234-c3086127382e") at 
/home/sbergman/lo-product/core/svx/source/unodraw/unoshape.cxx:1635
#12 0x00002b9172a56a27 in non-virtual thunk to SvxShape::setPropertyValue(rtl::OUString const&, 
com::sun::star::uno::Any const&) () at 
/home/sbergman/lo-product/core/svx/source/unodraw/unoshape.cxx:1626
#13 0x00002b916be54b52 in SwXShape::setPropertyValue (this=0x2b918de1c850, rPropertyName="CLSID", 
aValue=uno::Any "12dcae26-281f-416f-a234-c3086127382e") at 
/home/sbergman/lo-product/core/sw/source/core/unocore/unodraw.cxx:1479
#14 0x00002b916be54f17 in non-virtual thunk to SwXShape::setPropertyValue(rtl::OUString const&, 
com::sun::star::uno::Any const&) () at 
/home/sbergman/lo-product/core/sw/source/core/unocore/unodraw.cxx:1090
#15 0x00002b91780664dc in oox::PropertySet::implSetPropertyValue (this=0x7fffc2439760, rPropName="CLSID", 
rValue=uno::Any "12dcae26-281f-416f-a234-c3086127382e") at 
/home/sbergman/lo-product/core/oox/source/helper/propertyset.cxx:129
#16 0x00002b9178066445 in oox::PropertySet::setAnyProperty (this=0x7fffc2439760, nPropId=44, rValue=uno::Any 
"12dcae26-281f-416f-a234-c3086127382e") at 
/home/sbergman/lo-product/core/oox/source/helper/propertyset.cxx:69
#17 0x00002b9177d6ade1 in oox::PropertySet::setProperty<rtl::OUString> (this=0x7fffc2439760, nPropId=44, 
rValue="12dcae26-281f-416f-a234-c3086127382e") at 
/home/sbergman/lo-product/core/include/oox/helper/propertyset.hxx:105
#18 0x00002b9177ef1a69 in oox::drawingml::Shape::finalizeXShape (this=0x6d1cce0, rFilter=..., 
rxShapes=uno::Reference to (SwXDrawPage *) 0x2b9179405f88) at 
/home/sbergman/lo-product/core/oox/source/drawingml/shape.cxx:1263
#19 0x00002b9177eedbf1 in oox::drawingml::Shape::createAndInsert (this=0x6d1cce0, rFilterBase=..., 
rServiceName="com.sun.star.drawing.temporaryForXMLImportOLE2Shape", pTheme=0x8af9cb0, 
rxShapes=uno::Reference to (SwXDrawPage *) 0x2b9179405f88, bClearText=false, bDoNotInsertEmptyTextBody=false, 
aParentTransformation=..., rShapeOrParentShapeFillProps=...) at 
/home/sbergman/lo-product/core/oox/source/drawingml/shape.cxx:1072
#20 0x00002b9177ee4b87 in oox::drawingml::Shape::addShape (this=0x6d1cce0, rFilterBase=..., 
pTheme=0x8af9cb0, rxShapes=uno::Reference to (SwXDrawPage *) 0x2b9179405f88, aTransformation=..., 
rShapeOrParentShapeFillProps=..., pShapeRect=0x0, pShapeMap=0x0) at 
/home/sbergman/lo-product/core/oox/source/drawingml/shape.cxx:251
#21 0x00002b9178138d04 in oox::shape::ShapeContextHandler::getShape (this=0x2b917bf7ed40) at 
/home/sbergman/lo-product/core/oox/source/shape/ShapeContextHandler.cxx:505
#22 0x00002b9178139603 in non-virtual thunk to oox::shape::ShapeContextHandler::getShape() () at 
/home/sbergman/lo-product/core/oox/source/shape/ShapeContextHandler.cxx:421
#23 0x00002b9179c95a95 in writerfilter::ooxml::OOXMLFastContextHandlerShape::sendShape 
(this=0x2b918ddf1c10, Element=394378) at 
/home/sbergman/lo-product/core/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx:1623
#24 0x00002b9179c95d2f in writerfilter::ooxml::OOXMLFastContextHandlerShape::lcl_endFastElement 
(this=0x2b918ddf1c10, Element=394378) at 
/home/sbergman/lo-product/core/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx:1650
#25 0x00002b9179c8c681 in writerfilter::ooxml::OOXMLFastContextHandler::endFastElement 
(this=0x2b918ddf1c10, Element=394378) at 
/home/sbergman/lo-product/core/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx:195
#26 0x00002b9179c8c6e2 in non-virtual thunk to 
writerfilter::ooxml::OOXMLFastContextHandler::endFastElement(int) () at 
/home/sbergman/lo-product/core/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx:182
#27 0x00002b91786fee5a in (anonymous namespace)::Entity::endElement (this=0x81034f0) at 
/home/sbergman/lo-product/core/sax/source/fastparser/fastparser.cxx:506
#28 0x00002b91786fecbe in sax_fastparser::FastSaxParserImpl::callbackEndElement (this=0x6274c30) at 
/home/sbergman/lo-product/core/sax/source/fastparser/fastparser.cxx:1160
#29 0x00002b91786fcbf5 in (anonymous namespace)::call_callbackEndElement (userData=0x6274c30, localName=0x844fa8a 
"chart", prefix=0x844fa88 "c", URI=0x844fa90 
"http://schemas.openxmlformats.org/drawingml/2006/chart";) at 
/home/sbergman/lo-product/core/sax/source/fastparser/fastparser.cxx:301
#30 0x00002b9164b41bc4 in xmlParseTryOrFinish (ctxt=0x76f9730, terminate=1) at parser.c:11406
#31 0x00002b9164b40b01 in xmlParseChunk__internal_alias (ctxt=0x76f9730, chunk=0x2b918e43aec0 
"\020", size=0, terminate=1) at parser.c:12276
#32 0x00002b91786fbaff in sax_fastparser::FastSaxParserImpl::parse (this=0x6274c30) at 
/home/sbergman/lo-product/core/sax/source/fastparser/fastparser.cxx:1000
#33 0x00002b91786fa9f3 in sax_fastparser::FastSaxParserImpl::parseStream (this=0x6274c30, 
maStructSource=...) at /home/sbergman/lo-product/core/sax/source/fastparser/fastparser.cxx:784
#34 0x00002b91786ff2ad in sax_fastparser::FastSaxParser::parseStream (this=0x2b918e01d5b8, 
aInputSource=...) at /home/sbergman/lo-product/core/sax/source/fastparser/fastparser.cxx:1296
#35 0x00002b91786ff30f in non-virtual thunk to 
sax_fastparser::FastSaxParser::parseStream(com::sun::star::xml::sax::InputSource const&) () at 
/home/sbergman/lo-product/core/sax/source/fastparser/fastparser.cxx:1292
#36 0x00002b9179c81fd0 in writerfilter::ooxml::OOXMLDocumentImpl::resolve (this=0x6af9410, 
rStream=...) at /home/sbergman/lo-product/core/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx:500
#37 0x00002b9179c711ff in WriterFilter::filter (this=0x2b917adf9558, aDescriptor=uno::Sequence of 
length 11 = {...}) at /home/sbergman/lo-product/core/writerfilter/source/filter/ImportFilter.cxx:96
#38 0x00002b9179c72aaf in non-virtual thunk to 
WriterFilter::filter(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) () 
at /home/sbergman/lo-product/core/writerfilter/source/filter/ImportFilter.cxx:44
#39 0x00002b917082d2f6 in SfxObjectShell::ImportFrom (this=0x6428040, rMedium=..., 
xInsertPosition=empty uno::Reference) at 
/home/sbergman/lo-product/core/sfx2/source/doc/objstor.cxx:2271
#40 0x00002b9170820f52 in SfxObjectShell::DoLoad (this=0x6428040, pMed=0x6cd43f0) at 
/home/sbergman/lo-product/core/sfx2/source/doc/objstor.cxx:766
#41 0x00002b917087d9e7 in SfxBaseModel::load (this=0x2b918e531f98, seqArguments=uno::Sequence of 
length 12 = {...}) at /home/sbergman/lo-product/core/sfx2/source/doc/sfxbasemodel.cxx:1859
#42 0x00002b917087eaff in non-virtual thunk to 
SfxBaseModel::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) () 
at /home/sbergman/lo-product/core/sfx2/source/doc/sfxbasemodel.cxx:1810
#43 0x00002b91709a45be in (anonymous namespace)::SfxFrameLoader_Impl::load (this=0x2b918e261b58, 
rArgs=uno::Sequence of length 10 = {...}, _rTargetFrame=uno::Reference to ((anonymous 
namespace)::Frame *) 0x2b917947a948) at 
/home/sbergman/lo-product/core/sfx2/source/view/frmload.cxx:703
#44 0x00002b91709a4fb7 in non-virtual thunk to (anonymous 
namespace)::SfxFrameLoader_Impl::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> 
const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) () at 
/home/sbergman/lo-product/core/sfx2/source/view/frmload.cxx:615
#45 0x00002b91757abeca in framework::LoadEnv::impl_loadContent (this=0x7fffc2440960) at 
/home/sbergman/lo-product/core/framework/source/loadenv/loadenv.cxx:1122
#46 0x00002b91757a7279 in framework::LoadEnv::startLoading (this=0x7fffc2440960) at 
/home/sbergman/lo-product/core/framework/source/loadenv/loadenv.cxx:383
#47 0x00002b91757a5ce7 in framework::LoadEnv::loadComponentFromURL (xLoader=uno::Reference to (framework::Desktop *) 
0x2b916a28b328, xContext=uno::Reference to (cppu::ComponentContext *) 0x2b9164f4fd80, 
sURL="file:///home/sbergman/lo-product/core//sw/qa/extras/ooxmlexport/data/fdo78474.docx", 
sTarget="_default", nFlags=0, lArgs=uno::Sequence of length 2 = {...}) at 
/home/sbergman/lo-product/core/framework/source/loadenv/loadenv.cxx:164
#48 0x00002b91757f59f0 in framework::Desktop::loadComponentFromURL (this=0x2b916a28b2b0, 
sURL="file:///home/sbergman/lo-product/core//sw/qa/extras/ooxmlexport/data/fdo78474.docx", 
sTargetFrameName="_default", nSearchFlags=0, lArguments=uno::Sequence of length 2 = {...}) at 
/home/sbergman/lo-product/core/framework/source/services/desktop.cxx:567
#49 0x00002b91757f5ade in non-virtual thunk to framework::Desktop::loadComponentFromURL(rtl::OUString const&, 
rtl::OUString const&, int, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) 
() at /home/sbergman/lo-product/core/framework/source/services/desktop.cxx:552
#50 0x00002b916d28c07f in unotest::MacrosTest::loadFromDesktop (this=0x2e5eae8, 
rURL="file:///home/sbergman/lo-product/core//sw/qa/extras/ooxmlexport/data/fdo78474.docx", 
rDocService="com.sun.star.text.TextDocument") at 
/home/sbergman/lo-product/core/unotest/source/cpp/macros_test.cxx:42
#51 0x00002b916acc2cf8 in SwModelTestBase::load (this=0x2e5eaa0, pDir=0x2b916ad18d91 
"/sw/qa/extras/ooxmlexport/data/", pName=0x2b916ad19368 "fdo78474.docx") at 
/home/sbergman/lo-product/core/sw/qa/extras/inc/swmodeltestbase.hxx:597
#52 0x00002b916acc50ad in SwModelTestBase::executeImportTest (this=0x2e5eaa0, filename=0x2b916ad19368 
"fdo78474.docx") at /home/sbergman/lo-product/core/sw/qa/extras/inc/swmodeltestbase.hxx:224
#53 0x00002b916acd3a4c in fdo78474::Import (this=0x2e5eaa0) at 
/home/sbergman/lo-product/core/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx:1535

where in frame 8 (SvxOle2Shape::createObject) the corresponding pOle2Obj->GetLogicRect() is not of width=height=100 (which would be handled by as a special case there), but is an empty Rectangle (left=top=0, right=bottom=RECT_EMPTY=-32767), presumably because the SdrOle2Obj's maRect member is still default initialized (missing call to SdrTextObj::NbcSetLogicRect?).

The question is---at what level is the failure. Is it OK for aPageSize to be zero in chart::wrapper::LegendWrapper::setPosition(), or should the SdrOle2Obj's maRect have the special width=heigth=100 value, or some other non-empty value, etc.?

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.