[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - editeng/source

Tamás Zolnai tamas.zolnai at collabora.com
Mon Apr 16 14:41:37 UTC 2018


 editeng/source/editeng/editview.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 930a215961cb32d9e03a69f6ca7c1343fc8a1747
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
Date:   Mon Apr 16 14:38:36 2018 +0200

    sd lok: Impress: Right-click menu on misspelled word locks up session
    
    Change-Id: Ib554eea7049c1ea244bc4789ee3d7d2adf87e283
    Reviewed-on: https://gerrit.libreoffice.org/52988
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx
index bbf8bb97575c..1c8c49be4731 100644
--- a/editeng/source/editeng/editview.cxx
+++ b/editeng/source/editeng/editview.cxx
@@ -64,6 +64,7 @@
 #include <vcl/settings.hxx>
 #include <LibreOfficeKit/LibreOfficeKitEnums.h>
 #include <comphelper/lok.hxx>
+#include <sfx2/viewsh.hxx>
 
 #include <com/sun/star/lang/XServiceInfo.hpp>
 
@@ -983,6 +984,9 @@ void EditView::ExecuteSpellPopup( const Point& rPosPixel, Link<SpellCallbackInfo
         EPaM aP = pImpEditView->pEditEngine->pImpEditEngine->CreateEPaM(aPaM);
         EPaM aP2 = pImpEditView->pEditEngine->pImpEditEngine->CreateEPaM(aPaM2);
 
+
+        if (comphelper::LibreOfficeKit::isActive())
+            aPopupMenu->SetLOKNotifier(SfxViewShell::Current());
         sal_uInt16 nId = aPopupMenu->Execute(pImpEditView->GetWindow(), aTempRect, PopupMenuFlags::NoMouseUpClose);
 
         aPaM2 = pImpEditView->pEditEngine->pImpEditEngine->CreateEditPaM(aP2);


More information about the Libreoffice-commits mailing list