sc/source/ui/dbgui/PivotLayoutTreeListData.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 1d5b9a3aecec35bb9ec0102557b33409048eecb0
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Sat Mar 6 17:44:11 2021 +0100
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Sat Apr 17 10:02:24 2021 +0200

    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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Michael Meeks <michael.me...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114212
    Tested-by: Jenkins
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>

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);
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to