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

New commits:
commit 4a998c6c7325505d90780d18304267377a69225a
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 15:50:19 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>

diff --git a/sw/source/uibase/uiview/viewling.cxx 
b/sw/source/uibase/uiview/viewling.cxx
index 87dea97768cc..6e6225980e29 100644
--- a/sw/source/uibase/uiview/viewling.cxx
+++ b/sw/source/uibase/uiview/viewling.cxx
@@ -637,7 +637,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