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

New commits:
commit b3c7e88a02a23b3d05684f31eb858243a58aac18
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:48:42 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 <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 b0c703a4e3ed..2c99000f2699 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -2735,6 +2735,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