diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2021-03-19 11:59:12 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2021-03-24 09:37:29 +0100 |
commit | 042aec6b984332e917532e321e0f33668ad322e2 (patch) | |
tree | 6039d97bc66f45dd5076be416939ac4320eedf5b /sfx2 | |
parent | 6af0a488a059982a8b5d72fe399c7e8841a2e9b4 (diff) |
online: Don't send chart selection to all views
Steps to reproduce fixed bug:
1. open spreadsheet with chart in two sessions
2. session A: doubleclick on chart (grey overlay appears), then click somewhere else to exit chart editing mode (grey overlay disappears)
3. session B: doubleclick on chart
result - grey overlay present in both views
Change-Id: I43b390fcf9bb1a3f3cbbbce4cea1052c54255dc6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112736
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/ipclient.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx index 4b7fdada7851..5c4ecc7dcf8a 100644 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -194,12 +194,6 @@ void SAL_CALL SfxInPlaceClient_Impl::notifyEvent( const document::EventObject& a if ( m_pClient && aEvent.EventName == "OnVisAreaChanged" && m_nAspect != embed::Aspects::MSOLE_ICON ) { - if ( comphelper::LibreOfficeKit::isActive() ) - { - if ( SfxViewShell* pViewShell = m_pClient->GetViewShell() ) - pViewShell->libreOfficeKitViewCallback( LOK_CALLBACK_GRAPHIC_SELECTION, "INPLACE" ); - } - m_pClient->FormatChanged(); // for Writer when format of the object is changed with the area m_pClient->ViewChanged(); m_pClient->Invalidate(); |