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


Hello,

When opening directly odc file then going to data series of the charts, then
area tab and finally bitmap, I got a crash.
SdrEditView::GetGeoAttrFromMarked (this=0x0) at
/home/julien/lo/libreoffice/svx/source/svdraw/svdedtv1.cxx:1278
1278        SfxItemSet aRetSet(mpModel->GetItemPool(),   //
SID_ATTR_TRANSFORM_... from s:svxids.hrc
(gdb) bt
#0  SdrEditView::GetGeoAttrFromMarked (this=0x0) at
/home/julien/lo/libreoffice/svx/source/svdraw/svdedtv1.cxx:1278
#1  0x00002aaae3ba0f87 in SvxBitmapTabPage::Reset (this=0x55555b164e00,
rAttrs=0x55555b223a50) at
/home/julien/lo/libreoffice/cui/source/tabpages/tpbitmap.cxx:278
#2  0x00002aaae3b98cfc in SvxAreaTabPage::CreatePage
(this=this@entry=0x55555b282670, nId=nId@entry=4, pTab=0x55555b164e00)
    at /home/julien/lo/libreoffice/cui/source/tabpages/tparea.cxx:413


A bit of debug shows the problem comes from mpView not initialized in
SvxBitmapTabPage ctr and that's because there's no pViewShell
(see
http://opengrok.libreoffice.org/xref/core/cui/source/tabpages/tpbitmap.cxx#143) 

Any idea how to initialize mpView in this specific case? (since I don't
reproduce this when opening the chart from ods file for example)

BTW, I haven't yet created a bugtracker yet because I'd like to push first
the fix for tdf#104534 ("crashes when Pattern area type is selected in Chart
column").

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/About-opening-odc-file-and-mpView-null-tp4202317.html
Sent from the Dev mailing list archive at Nabble.com.

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.