sw/source/uibase/lingu/olmenu.cxx | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-)
New commits: commit 9d6c672e11e6101f03644e30760927186cd2e74d Author: Rashesh Padia <rashesh.pa...@collabora.com> AuthorDate: Mon Aug 11 16:00:59 2025 +0530 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Mon Aug 11 17:58:38 2025 +0200 sw: lokit: enable standard.dic - always have option to add words to standard.dic - it would make things easier for user if they haven't uploaded the custom dictionaries. Change-Id: Id1eb1936e57fc77756cfa87b983fb506dd83e63e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189359 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sw/source/uibase/lingu/olmenu.cxx b/sw/source/uibase/lingu/olmenu.cxx index add3ac04810f..ff35e167e45c 100644 --- a/sw/source/uibase/lingu/olmenu.cxx +++ b/sw/source/uibase/lingu/olmenu.cxx @@ -320,7 +320,7 @@ SwSpellPopup::SwSpellPopup( // words could be added. uno::Reference< linguistic2::XDictionary > xDic( LinguMgr::GetStandardDic() ); if (xDic.is()) - xDic->setActive(!comphelper::LibreOfficeKit::isActive()); + xDic->setActive(true); m_aDics = xDicList->getDictionaries(); @@ -363,16 +363,8 @@ SwSpellPopup::SwSpellPopup( } sal_uInt16 nDiff = nItemId - MN_DICTIONARIES_START; - if (comphelper::LibreOfficeKit::isActive()) - { - m_xPopupMenu->EnableItem(m_nAddMenuId, nDiff > 2); - m_xPopupMenu->EnableItem(m_nAddId, nDiff == 2); - } - else - { - m_xPopupMenu->EnableItem(m_nAddMenuId, nDiff > 1); - m_xPopupMenu->EnableItem(m_nAddId, nDiff == 1); - } + m_xPopupMenu->EnableItem(m_nAddMenuId, nDiff > 1); + m_xPopupMenu->EnableItem(m_nAddId, nDiff == 1); //ADD NEW LANGUAGE MENU ITEM