diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2021-03-06 17:44:11 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2021-04-17 10:02:24 +0200 |
commit | 1d5b9a3aecec35bb9ec0102557b33409048eecb0 (patch) | |
tree | 3025df131011ea6f41d975ca5b10ec3823915df2 | |
parent | a9a665ed7a3198f4c0f6e521520491353ccfb182 (diff) |
Pivot table: fix data field subdialog
Changes done in 'Data field' subdialog were not
applied in the result pivot table.
Change-Id: Ia221380a9ab3d292033512b9b642646f4b53a39d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112096
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114212
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
-rw-r--r-- | sc/source/ui/dbgui/PivotLayoutTreeListData.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListData.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListData.cxx index 59949883ff91..0e5b5bfd4021 100644 --- a/sc/source/ui/dbgui/PivotLayoutTreeListData.cxx +++ b/sc/source/ui/dbgui/PivotLayoutTreeListData.cxx @@ -94,15 +94,15 @@ IMPL_LINK_NOARG(ScPivotLayoutTreeListData, DoubleClickHdl, weld::TreeView&, bool mpFunctionDlg = pFactory->CreateScDPFunctionDlg(mxControl.get(), mpParent->GetLabelDataVector(), rCurrentLabelData, rCurrentFunctionData); - mpFunctionDlg->StartExecuteAsync([this, pCurrentItemValue, rCurrentFunctionData, + mpFunctionDlg->StartExecuteAsync([this, pCurrentItemValue, rCurrentLabelData, nEntry](int nResult) mutable { if (nResult == RET_OK) { ScPivotFuncData& rFunctionData = pCurrentItemValue->maFunctionData; - rCurrentFunctionData.mnFuncMask = mpFunctionDlg->GetFuncMask(); + rFunctionData.mnFuncMask = mpFunctionDlg->GetFuncMask(); rCurrentLabelData.mnFuncMask = mpFunctionDlg->GetFuncMask(); - rCurrentFunctionData.maFieldRef = mpFunctionDlg->GetFieldRef(); + rFunctionData.maFieldRef = mpFunctionDlg->GetFieldRef(); ScDPLabelData& rDFData = mpParent->GetLabelData(rFunctionData.mnCol); |