[Libreoffice-commits] core.git: sw/source
Tamás Zolnai (via logerrit)
logerrit at kemper.freedesktop.org
Sat Mar 28 11:41:38 UTC 2020
sw/source/uibase/lingu/olmenu.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 190e7833777779a00b1ba82d4a48e95e47449ce2
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Fri Mar 27 13:58:52 2020 +0100
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Sat Mar 28 12:40:59 2020 +0100
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 at collabora.com>
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)
More information about the Libreoffice-commits
mailing list