summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2019-11-16 11:13:01 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2019-11-23 15:38:43 +0100
commit50a6e53b896d160c968d142b64a9ed62dc65d5f5 (patch)
treea05f8361bcd68e4728030dbc9a59993c327b538c
parent9d6942c643388228b8f5b99cd37ef6968eab962a (diff)
SpellingPopup: lok: Also hide the add menu
Change-Id: Ic6b10d579fe1fb0afe5e80244e84ed456dc6cc87
-rw-r--r--sw/source/uibase/lingu/olmenu.cxx1
1 files changed, 1 insertions, 0 deletions
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);