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

New commits:
commit 21312572497e43317faa2f115a2a5449a97f1b44
Author:     Pranam Lashkari <[email protected]>
AuthorDate: Fri Jan 22 17:21:05 2021 +0530
Commit:     Pranam Lashkari <[email protected]>
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 <[email protected]>
    Reviewed-by: Szymon Kłos <[email protected]>
    (cherry picked from commit b3c7e88a02a23b3d05684f31eb858243a58aac18)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110220
    Tested-by: Jenkins
    Reviewed-by: Pranam Lashkari <[email protected]>

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();
                 }
             }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to