summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2021-01-22 17:21:05 +0530
committerSzymon Kłos <szymon.klos@collabora.com>2021-01-25 09:48:42 +0100
commitb3c7e88a02a23b3d05684f31eb858243a58aac18 (patch)
tree4f184cbaa80f75a9f6e0248489ac96ec58d2a037 /sc
parentd12db838aa9da414af999707f531e5d34784772c (diff)
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@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/cellsh1.cxx5
1 files changed, 5 insertions, 0 deletions
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();
}
}