summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2021-03-19 11:59:12 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2021-04-08 09:31:19 +0200
commitee74fa1a696407d55e7245472b3b9447a1e596d0 (patch)
tree74e29788be7aa233ebd71d146bbc38f43404f9ff
parent78eaf6489a6542378ffab7eef39ec0a2c5f1a10a (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.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx
index 89f57c7983fa..30626d285709 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();