desktop/source/lib/init.cxx   |    1 +
 sc/source/ui/view/gridwin.cxx |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit d7dcecb76b15e1df9a1f3afaf56164a8bf597b71
Author:     Gökay Şatır <gokay.sa...@collabora.com>
AuthorDate: Sun Mar 14 12:36:30 2021 +0300
Commit:     Gökay ŞATIR <gokaysa...@collabora.com>
CommitDate: Mon Mar 15 11:51:57 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.fran...@collabora.com>
    Reviewed-by: Gökay ŞATIR <gokaysa...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112487
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index a3ea934e9ebf..3e25780e00cb 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1455,6 +1455,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 35bce5d35625..a7ae6626325a 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -5883,6 +5883,7 @@ void ScGridWindow::UpdateKitSelection(const 
std::vector<tools::Rectangle>& rRect
     }
 
     ScTabViewShell* pViewShell = pViewData->GetViewShell();
+    pViewShell->UpdateInputHandler();
     OString sBoundingBoxString = "EMPTY";
     if (!aBoundingBox.IsEmpty())
         sBoundingBoxString = aBoundingBox.toString();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to