[Libreoffice-commits] core.git: desktop/source

Dennis Francis (via logerrit) logerrit at kemper.freedesktop.org
Thu Aug 12 08:44:42 UTC 2021


 desktop/source/lib/init.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 9d23cc663a1f14c960ebe05059cb520cb41dc01c
Author:     Dennis Francis <dennis.francis at collabora.com>
AuthorDate: Fri Jun 25 14:52:22 2021 +0530
Commit:     Dennis Francis <dennis.francis at collabora.com>
CommitDate: Thu Aug 12 10:43:51 2021 +0200

    lok: sw: avoid duplicate LOK_CALLBACK_TABLE_SELECTED msgs
    
    Alternate approach is to track changes in the active table in each view
    but it needs a bigger change and run the risk of overlooking cases
    where table dimensions and position changes, which is possibly why this
    message is created from UpdateCursor() in the first place.
    
    Change-Id: I06643e2a7416d6c0fe2b0dc5c9b4adcd45fa50c5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118001
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
    (cherry picked from commit 34ade20a09a1c3fe08daec2b276a06a1f895bd5a)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120354
    Tested-by: Jenkins
    Reviewed-by: Dennis Francis <dennis.francis at collabora.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index b796d4240ba3..ee0e6f05bb25 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1392,6 +1392,7 @@ CallbackFlushHandler::CallbackFlushHandler(LibreOfficeKitDocument* pDocument, Li
     m_states.emplace(LOK_CALLBACK_CELL_ADDRESS, "NIL");
     m_states.emplace(LOK_CALLBACK_CURSOR_VISIBLE, "NIL");
     m_states.emplace(LOK_CALLBACK_SET_PART, "NIL");
+    m_states.emplace(LOK_CALLBACK_TABLE_SELECTED, "NIL");
 
     Start();
 }


More information about the Libreoffice-commits mailing list