summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2021-01-22 17:21:05 +0530
committerPranam Lashkari <lpranam@collabora.com>2021-02-01 09:09:58 +0100
commit21312572497e43317faa2f115a2a5449a97f1b44 (patch)
treeadd8d6f5af1c8dbadc16cb4813b08b8685d4afb8
parent2235d2874f0a58df1249ca8def2f398020fbfd42 (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> (cherry picked from commit b3c7e88a02a23b3d05684f31eb858243a58aac18) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110220 Tested-by: Jenkins Reviewed-by: Pranam Lashkari <lpranam@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 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();
}
}