summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-05-08 14:39:18 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-05-08 15:50:19 +0200
commit4a998c6c7325505d90780d18304267377a69225a (patch)
tree7b8e6d153bb31069349be22978e3cd5ec95f67fa /sw
parent93915c0be321c79821bbeca0b0af95ba452c5011 (diff)
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.kaganski@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/uiview/viewling.cxx3
1 files changed, 2 insertions, 1 deletions
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();