sw/source/uibase/uiview/viewling.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 8760c7cec6b491c7d2c2d85db698197766d7e40c
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Mon May 8 14:39:18 2023 +0300
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Mon May 8 20:42:04 2023 +0200

    lok: also do not push the cursor in lok case
    
    Change-Id: Iaa70edd1fd8f196f487816a324ab0dbb0d363358
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151506
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>
    (cherry picked from commit 4a998c6c7325505d90780d18304267377a69225a)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151513
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>

diff --git a/sw/source/uibase/uiview/viewling.cxx 
b/sw/source/uibase/uiview/viewling.cxx
index 45b1851ad3c5..9d724b304688 100644
--- a/sw/source/uibase/uiview/viewling.cxx
+++ b/sw/source/uibase/uiview/viewling.cxx
@@ -636,7 +636,8 @@ bool SwView::ExecSpellPopup(const Point& rPt)
         {
             const bool bOldViewLock = m_pWrtShell->IsViewLocked();
             m_pWrtShell->LockView( true );
-            m_pWrtShell->Push();
+            if (!comphelper::LibreOfficeKit::isActive())
+                m_pWrtShell->Push();
             SwRect aToFill;
 
             SwCursorShell *pCursorShell = m_pWrtShell.get();

Reply via email to