diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2019-05-31 19:21:19 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-10-17 01:31:56 +0200 |
commit | f0340d58cc0f2808ce8003099ff2a0495360f267 (patch) | |
tree | ec7d7be31a79190280b090862db59a6b83f92e41 /sfx2 | |
parent | 15a18fa56c40136d992c08f5c1dee17287557934 (diff) |
Don't send false 'INPLACE' messages
Change-Id: I8eb9a77c7e6b9242f18ac5f0634091c88bf40ec0
Reviewed-on: https://gerrit.libreoffice.org/80695
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/ipclient.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx index 00063e7b1ed6..d810bd44374e 100644 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -336,6 +336,13 @@ void SAL_CALL SfxInPlaceClient_Impl::activatingInplace() { if ( !m_pClient || !m_pClient->GetViewShell() ) throw uno::RuntimeException(); + + if ( comphelper::LibreOfficeKit::isActive() ) + { + if ( SfxViewShell* pViewShell = m_pClient->GetViewShell() ) + pViewShell->libreOfficeKitViewCallback( LOK_CALLBACK_GRAPHIC_SELECTION, "INPLACE" ); + } + } |