sw/source/uibase/lingu/olmenu.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit d638fb21aa12bb02cafc64affef343cc6afa00d5
Author:     Tamás Zolnai <tamas.zol...@collabora.com>
AuthorDate: Fri Mar 27 13:58:52 2020 +0100
Commit:     Tamás Zolnai <tamas.zol...@collabora.com>
CommitDate: Mon Mar 30 14:03:52 2020 +0200

    sw lok: add uno command for submenus in Spellchecking popup.
    
    Change-Id: I1c7591379ecbce0099ed7d969e5dc83831e322b6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91227
    Tested-by: Jenkins
    Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com>
    (cherry picked from commit 190e7833777779a00b1ba82d4a48e95e47449ce2)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91356
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>

diff --git a/sw/source/uibase/lingu/olmenu.cxx 
b/sw/source/uibase/lingu/olmenu.cxx
index 29f27bf0ca4f..d107e2901fb5 100644
--- a/sw/source/uibase/lingu/olmenu.cxx
+++ b/sw/source/uibase/lingu/olmenu.cxx
@@ -617,6 +617,7 @@ void SwSpellPopup::InitItemCommands(const 
css::uno::Sequence< OUString >& aSugge
         }
 
         PopupMenu *pMenu = m_xPopupMenu->GetPopupMenu(m_nLangSelectionMenuId);
+        m_xPopupMenu->SetItemCommand(m_nLangSelectionMenuId, 
".uno:SetSelectionLanguageMenu");
         if(pMenu)
         {
             for (const auto& item : m_aLangTable_Text)
@@ -631,6 +632,7 @@ void SwSpellPopup::InitItemCommands(const 
css::uno::Sequence< OUString >& aSugge
         }
 
         pMenu = m_xPopupMenu->GetPopupMenu(m_nLangParaMenuId);
+        m_xPopupMenu->SetItemCommand(m_nLangParaMenuId, 
".uno:SetParagraphLanguageMenu");
         if(pMenu)
         {
             for (const auto& item : m_aLangTable_Paragraph)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to