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

New commits:
commit af234f4eb078ecd9cf5fdd6b0b022239b80c1adb
Author:     Pranam Lashkari <lpra...@collabora.com>
AuthorDate: Fri Jan 22 17:21:05 2021 +0530
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Mon Jan 25 09:49:10 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/+/109795
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>

diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index ccd17f217fa1..22a5d0b3fc85 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -2733,6 +2733,11 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
 
                     pTabView->UpdateRef( colEnd, rowEnd, table ); // setup the 
end & refresh formula
 
+                    ScRange aRef(
+                        colStart, rowStart, rViewData.GetRefStartZ(),
+                        colEnd, rowEnd, rViewData.GetRefEndZ() );
+                    SC_MOD()->SetReference( aRef, rViewData.GetDocument(), 
&rViewData.GetMarkData() );
+
                     pInputHdl->UpdateLokReferenceMarks();
                 }
             }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to