[Libreoffice-commits] core.git: Branch 'distro/collabora/co-2021' - sc/source

Pranam Lashkari (via logerrit) logerrit at kemper.freedesktop.org
Sun Apr 4 12:53:47 UTC 2021


 sc/source/ui/view/cellsh1.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 8c7f61de5906b49b946298371eb025c10f4f5219
Author:     Pranam Lashkari <lpranam at collabora.com>
AuthorDate: Fri Jan 22 17:21:05 2021 +0530
Commit:     Pranam Lashkari <lpranam at collabora.com>
CommitDate: Sun Apr 4 14:53:15 2021 +0200

    fixed range text not being updated on dragging reference marker
    
    dragging reference stat marker in online did not change the text of range selection
    
    Change-Id: I0f9ee9df2418bc4dcf519ca3462b510758b9766d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109786
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
    (cherry picked from commit b3c7e88a02a23b3d05684f31eb858243a58aac18)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110220
    Tested-by: Jenkins
    Reviewed-by: Pranam Lashkari <lpranam at collabora.com>
    (cherry picked from commit 21312572497e43317faa2f115a2a5449a97f1b44)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113539
    Tested-by: Pranam Lashkari <lpranam at collabora.com>

diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index 73080c8409bd..afe2301df103 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -2800,6 +2800,11 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
 
                     pTabView->UpdateRef( colEnd, rowEnd, table ); // setup the end & refresh formula
 
+                    ScRange aRef(
+                        colStart, rowStart, rData.GetRefStartZ(),
+                        colEnd, rowEnd, rData.GetRefEndZ() );
+                    SC_MOD()->SetReference( aRef, rData.GetDocument(), &rData.GetMarkData() );
+
                     pInputHdl->UpdateLokReferenceMarks();
                 }
             }


More information about the Libreoffice-commits mailing list