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

New commits:
commit e397437ebb7ec5c4c63de9dfbef7c5a1738abef0
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Mon Oct 21 10:34:12 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Mon Oct 21 14:19:58 2024 +0200

    tdf#163486: PVS: Two similar code fragments were found
    
    commit 14a73d8de3f04e3087a8c2872cd1c53096f605ba
    Author: Ivo Hinkelmann <i...@openoffice.org>
    Date:   Wed Jul 16 12:35:11 2008 +0000
    
        INTEGRATION: CWS tl55 (1.13.50); FILE MERGED
    
    V778    Two similar code fragments were found. Perhaps, this is a typo and 
'm_xGCIterator' variable should be used instead of 'm_xLngSvcMgr'.
    
    Change-Id: Ic8df89aa951761903d955c4b571bd0b70829ad3f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175300
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/sw/source/uibase/uno/dlelstnr.cxx 
b/sw/source/uibase/uno/dlelstnr.cxx
index 6cfe6f97191a..41551540101b 100644
--- a/sw/source/uibase/uno/dlelstnr.cxx
+++ b/sw/source/uibase/uno/dlelstnr.cxx
@@ -107,7 +107,7 @@ void SAL_CALL SwLinguServiceEventListener::disposing(
 
     if (m_xLngSvcMgr.is() && rEventObj.Source == m_xLngSvcMgr)
         m_xLngSvcMgr = nullptr;
-    if (m_xLngSvcMgr.is() && rEventObj.Source == m_xGCIterator)
+    if (m_xGCIterator.is() && rEventObj.Source == m_xGCIterator)
         m_xGCIterator = nullptr;
 }
 

Reply via email to