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

New commits:
commit 9100f5815aedf8bf202322d2ca6d16d7d1f68228
Author:     Tamás Zolnai <tamas.zol...@collabora.com>
AuthorDate: Sat Nov 16 11:13:01 2019 +0100
Commit:     Tamás Zolnai <tamas.zol...@collabora.com>
CommitDate: Sat Nov 23 21:14:38 2019 +0100

    SpellingPopup: lok: Also hide the add menu
    
    Change-Id: Ic6b10d579fe1fb0afe5e80244e84ed456dc6cc87
    Reviewed-on: https://gerrit.libreoffice.org/83579
    Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com>
    Tested-by: Tamás Zolnai <tamas.zol...@collabora.com>

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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to