[Libreoffice-commits] core.git: sfx2/source
Szymon Kłos (via logerrit)
logerrit at kemper.freedesktop.org
Wed Oct 16 23:32:45 UTC 2019
sfx2/source/view/ipclient.cxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit f0340d58cc0f2808ce8003099ff2a0495360f267
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Fri May 31 19:21:19 2019 +0200
Commit: Michael Meeks <michael.meeks at collabora.com>
CommitDate: Thu Oct 17 01:31:56 2019 +0200
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 at collabora.com>
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" );
+ }
+
}
More information about the Libreoffice-commits
mailing list