https://bugs.documentfoundation.org/show_bug.cgi?id=129412
Julien Nabet <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
Keywords| |haveBacktrace
--- Comment #5 from Julien Nabet <[email protected]> ---
Eike:
this patch prevents from asserting:
diff --git a/sc/source/ui/unoobj/PivotTableDataProvider.cxx
b/sc/source/ui/unoobj/PivotTableDataProvider.cxx
index fa77cd0f133a..d7979cda8cbe 100644
--- a/sc/source/ui/unoobj/PivotTableDataProvider.cxx
+++ b/sc/source/ui/unoobj/PivotTableDataProvider.cxx
@@ -285,6 +285,8 @@ void PivotTableDataProvider::collectPivotTableData()
m_aFieldOutputDescriptionMap.clear();
uno::Reference<sheet::XDataPilotResults>
xDPResults(pDPObject->GetSource(), uno::UNO_QUERY);
+ if (!xDPResults.is())
+ return;
const uno::Sequence<uno::Sequence<sheet::DataResult>> xDataResultsSequence
= xDPResults->getResults();
double fNan;
however, it opens Chart dialog and at the end, chart is empty (as expected).
Any thoughts about a better solution than this naive patch?
(part of bt in my previous comment)
--
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