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

New commits:
commit a12761bee8dfb3f775e9259e41e6736f64977eed
Author:     Rashesh Padia <rashesh.pa...@collabora.com>
AuthorDate: Wed Aug 13 12:38:04 2025 +0530
Commit:     Tomaž Vajngerl <qui...@gmail.com>
CommitDate: Thu Aug 14 08:51:44 2025 +0200

    sw: fix: don't show "List of Ignored Words" in submenu
    
    Change-Id: I0770884eae89640d14a8ce05b315ee8880b772e5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189473
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>

diff --git a/sw/source/uibase/lingu/olmenu.cxx 
b/sw/source/uibase/lingu/olmenu.cxx
index ff35e167e45c..1bb4dbdd07a3 100644
--- a/sw/source/uibase/lingu/olmenu.cxx
+++ b/sw/source/uibase/lingu/olmenu.cxx
@@ -327,7 +327,7 @@ SwSpellPopup::SwSpellPopup(
         for (const uno::Reference<linguistic2::XDictionary>& rDic : m_aDics)
         {
             uno::Reference< linguistic2::XDictionary >  xDicTmp = rDic;
-            if (!xDicTmp.is() || LinguMgr::GetIgnoreAllList() == xDicTmp)
+            if (!xDicTmp.is() || LinguMgr::GetIgnoreAllList()->getName() == 
xDicTmp->getName())
                 continue;
 
             uno::Reference< frame::XStorable > xStor( xDicTmp, uno::UNO_QUERY 
);

Reply via email to