[Libreoffice-commits] core.git: sc/source

Pranam Lashkari (via logerrit) logerrit at kemper.freedesktop.org
Mon Feb 1 08:10:39 UTC 2021


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

New commits:
commit 21312572497e43317faa2f115a2a5449a97f1b44
Author:     Pranam Lashkari <lpranam at collabora.com>
AuthorDate: Fri Jan 22 17:21:05 2021 +0530
Commit:     Pranam Lashkari <lpranam at collabora.com>
CommitDate: Mon Feb 1 09:09:58 2021 +0100

    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>

diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index a8940d2495ac..1613886bc6fb 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -2797,6 +2797,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