[Libreoffice-commits] core.git: desktop/source sc/source
Gökay Åatır (via logerrit)
logerrit at kemper.freedesktop.org
Mon Mar 15 09:29:46 UTC 2021
desktop/source/lib/init.cxx | 1 +
sc/source/ui/view/gridwin.cxx | 1 +
2 files changed, 2 insertions(+)
New commits:
commit 10f8764ff9c3945e3e51c7d483dc7a07bdea29f9
Author: Gökay Şatır <gokay.satir at collabora.com>
AuthorDate: Sun Mar 14 12:36:30 2021 +0300
Commit: Gökay ŞATIR <gokaysatir at collabora.com>
CommitDate: Mon Mar 15 10:29:07 2021 +0100
Calc: Update selected cell range before calculating the selection area.
Change-Id: I7a814be03acb246e1eb9d68425418ee1357510fd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112472
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis at collabora.com>
Reviewed-by: Gökay ŞATIR <gokaysatir at collabora.com>
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 5701f5965ce2..6275bf691946 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1442,6 +1442,7 @@ void CallbackFlushHandler::queue(const int type, const char* data)
case LOK_CALLBACK_CELL_VIEW_CURSOR:
case LOK_CALLBACK_CELL_FORMULA:
case LOK_CALLBACK_CELL_ADDRESS:
+ case LOK_CALLBACK_CELL_SELECTION_AREA:
case LOK_CALLBACK_CURSOR_VISIBLE:
case LOK_CALLBACK_VIEW_CURSOR_VISIBLE:
case LOK_CALLBACK_SET_PART:
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 790ab75713b0..1497988b7f16 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -5863,6 +5863,7 @@ void ScGridWindow::UpdateKitSelection(const std::vector<tools::Rectangle>& rRect
}
ScTabViewShell* pViewShell = mrViewData.GetViewShell();
+ pViewShell->UpdateInputHandler();
OString sBoundingBoxString = "EMPTY";
if (!aBoundingBox.IsEmpty())
sBoundingBoxString = aBoundingBox.toString();
More information about the Libreoffice-commits
mailing list