https://bugs.documentfoundation.org/show_bug.cgi?id=174093
--- Comment #6 from Julien Nabet <[email protected]> --- With this, it doesn't crash: diff --git a/sc/source/ui/dbgui/PivotLayoutTreeList.cxx b/sc/source/ui/dbgui/PivotLayoutTreeList.cxx index 1b1df1c3a9d6..e802048519a9 100644 --- a/sc/source/ui/dbgui/PivotLayoutTreeList.cxx +++ b/sc/source/ui/dbgui/PivotLayoutTreeList.cxx @@ -100,6 +100,10 @@ void ScPivotLayoutTreeList::FillFields(ScPivotFieldVector& rFieldVector) void ScPivotLayoutTreeList::InsertEntryForSourceTarget(weld::TreeView& rSource, int nTarget) { ScItemValue* pItemValue = weld::fromId<ScItemValue*>(rSource.get_selected_id()); + + if (pItemValue->maFunctionData.mnCol == -1) + return; + ScItemValue* pOriginalItemValue = pItemValue->mpOriginalItemValue; I tested the file and I could change the order between Word and Letter but not Data. So I suppose it's not the right patch but at least it may be start. -- You are receiving this mail because: You are the assignee for the bug.
