From 9100f5815aedf8bf202322d2ca6d16d7d1f68228 Mon Sep 17 00:00:00 2001 From: Tamás Zolnai Date: Sat, 16 Nov 2019 11:13:01 +0100 Subject: SpellingPopup: lok: Also hide the add menu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic6b10d579fe1fb0afe5e80244e84ed456dc6cc87 Reviewed-on: https://gerrit.libreoffice.org/83579 Reviewed-by: Tamás Zolnai Tested-by: Tamás Zolnai --- sw/source/uibase/lingu/olmenu.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sw') diff --git a/sw/source/uibase/lingu/olmenu.cxx b/sw/source/uibase/lingu/olmenu.cxx index e1ef7a80621d..ccb4beeb9895 100644 --- a/sw/source/uibase/lingu/olmenu.cxx +++ b/sw/source/uibase/lingu/olmenu.cxx @@ -301,6 +301,7 @@ SwSpellPopup::SwSpellPopup( { m_xPopupMenu->HideItem(m_nCorrectDialogId); m_xPopupMenu->HideItem(m_nAddId); + m_xPopupMenu->HideItem(m_nAddMenuId); } sal_uInt16 nItemPos = m_xPopupMenu->GetItemPos(m_nIgnoreWordId); m_xPopupMenu->InsertItem(MN_IGNORE_SELECTION, aIgnoreSelection, MenuItemBits::NONE, OString(), nItemPos); -- cgit