https://bugs.documentfoundation.org/show_bug.cgi?id=111173
--- Comment #5 from Julien Nabet <[email protected]> ---
Created attachment 135107
--> https://bugs.documentfoundation.org/attachment.cgi?id=135107&action=edit
quick patch
The only location I found where xLabelGroupShape is initialized is here:
356 uno::Reference< container::XChild > xChild(
aPieLabelInfo.xTextShape, uno::UNO_QUERY );
357 if( xChild.is() )
358 aPieLabelInfo.xLabelGroupShape.set( xChild->getParent(),
uno::UNO_QUERY );
(see
https://opengrok.libreoffice.org/xref/core/chart2/source/view/charttypes/PieChart.cxx#358)
aPieLabelInfo.xTextShape is initialized some lines before:
350 aPieLabelInfo.xTextShape = createDataLabel(
351 xTextTarget, rSeries, nPointIndex, nVal, rParam.mfLogicYSum,
352 aScreenPosition2D, eAlignment, 0, nTextMaximumFrameWidth);
But "createDataLabel" may return an empty ref (see
https://opengrok.libreoffice.org/xref/core/chart2/source/view/charttypes/VSeriesPlotter.cxx#406)
I attached a quick (but perhaps dirty or wrong) patch.
With it I could open the file.
--
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