summaryrefslogtreecommitdiff
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:49:10 +0100
commitaf234f4eb078ecd9cf5fdd6b0b022239b80c1adb (patch)
tree5b1eec3e2f0c96a60a7b2fe4001f90a1741a2f89
parent944d289f5a1017f86646157314c88b496a0d3a30 (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/+/109795 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
-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 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();
}
}