diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-03-27 13:58:52 +0100 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-03-28 12:40:59 +0100 |
commit | 190e7833777779a00b1ba82d4a48e95e47449ce2 (patch) | |
tree | 8e115d51e0654f2d6eb2e1b5b54712218d9fbb58 | |
parent | 96f41e79ad505239a5cd4c7991af767796f77672 (diff) |
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.zolnai@collabora.com>
-rw-r--r-- | sw/source/uibase/lingu/olmenu.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/lingu/olmenu.cxx b/sw/source/uibase/lingu/olmenu.cxx index 8098a6a4c7fd..813cfae970af 100644 --- a/sw/source/uibase/lingu/olmenu.cxx +++ b/sw/source/uibase/lingu/olmenu.cxx @@ -595,6 +595,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) @@ -609,6 +610,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) |