diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2021-03-19 11:59:12 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2021-04-09 11:22:27 +0100 |
commit | 01a4a96a6f05a6b221d19b4b36270349d577fe97 (patch) | |
tree | 2fb6c22b6397b8073ec1d79c97f3a1494c3bcf8f | |
parent | 2fdfd5ca5a479fa94f96ca1cad2f68806b69504b (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>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113726
Tested-by: Jenkins
-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 fbba1febc5c1..c6b397744efa 100644 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -188,12 +188,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(); |