[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - chart2/source

Pranav Kant pranavk at collabora.co.uk
Thu Mar 15 17:26:09 UTC 2018


 chart2/source/controller/main/ChartController_EditData.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 8d7a250c04615f27c14543a9f050cb21648f498d
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Thu Mar 15 16:48:54 2018 +0530

    chart2 lok: give parent to data table dialog to tunnel it
    
    Change-Id: Ie82a9a6d9b499e5da34e04f0c2f5fc7c164b098e
    (cherry picked from commit cbbff5a2c08a55bfec27b2476fd848e972bfd572)
    Reviewed-on: https://gerrit.libreoffice.org/51356
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/chart2/source/controller/main/ChartController_EditData.cxx b/chart2/source/controller/main/ChartController_EditData.cxx
index 646a27a35cb1..9d64dd06fcbc 100644
--- a/chart2/source/controller/main/ChartController_EditData.cxx
+++ b/chart2/source/controller/main/ChartController_EditData.cxx
@@ -18,6 +18,7 @@
  */
 
 #include "ChartController.hxx"
+#include "ChartWindow.hxx"
 #include "macros.hxx"
 
 #include "dlg_DataEditor.hxx"
@@ -52,7 +53,7 @@ void ChartController::executeDispatch_EditData()
             UndoLiveUpdateGuardWithData aUndoGuard(
                 SCH_RESSTR( STR_ACTION_EDIT_CHART_DATA ),
                 m_xUndoManager );
-            ScopedVclPtrInstance<DataEditor> aDataEditorDialog( nullptr, xChartDoc, m_xCC );
+            ScopedVclPtrInstance<DataEditor> aDataEditorDialog( m_pChartWindow.get(), xChartDoc, m_xCC );
             if (aDataEditorDialog->Execute() == RET_OK)
                 aDataEditorDialog->ApplyChangesToModel();
             aUndoGuard.commit();


More information about the Libreoffice-commits mailing list