sw/inc/redline.hxx                       |    2 --
 sw/inc/swevent.hxx                       |    2 --
 sw/source/core/access/accfrmobjslist.hxx |    6 ------
 3 files changed, 10 deletions(-)

New commits:
commit c5bb6b0972f8f03b6c9d397d2d0f16c154c58e1c
Author:     Tuukka Orava <tuukka.or...@outlook.com>
AuthorDate: Mon Mar 11 00:26:05 2024 +0200
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Mon Mar 11 05:39:23 2024 +0100

    tdf#157664 Drop operator != where respective operator == is defined
    
    Change-Id: Id0313cbaf399af94df7ced18a8ad55deec53be33
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164638
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx
index a8be390b1490..ef7c8129ce6a 100644
--- a/sw/inc/redline.hxx
+++ b/sw/inc/redline.hxx
@@ -120,8 +120,6 @@ public:
                         ( m_pExtraData && rCmp.m_pExtraData &&
                             *m_pExtraData == *rCmp.m_pExtraData ));
         }
-    bool operator!=( const SwRedlineData& rCmp ) const
-        {   return !operator==( rCmp ); }
 
     RedlineType GetType() const { return m_eType; }
 
diff --git a/sw/inc/swevent.hxx b/sw/inc/swevent.hxx
index b25246cb2e12..62bd39429a13 100644
--- a/sw/inc/swevent.hxx
+++ b/sw/inc/swevent.hxx
@@ -99,8 +99,6 @@ struct SwCallMouseEvent final
                     PTR.pFormat == rEvent.PTR.pFormat &&
                     PTR.IMAP.pIMapObj == rEvent.PTR.IMAP.pIMapObj;
         }
-    bool operator!=( const SwCallMouseEvent& rEvent ) const
-        {   return !( *this == rEvent );    }
 
     void Clear()
         {
diff --git a/sw/source/core/access/accfrmobjslist.hxx 
b/sw/source/core/access/accfrmobjslist.hxx
index 9df293d71e2f..e4f3141f4275 100644
--- a/sw/source/core/access/accfrmobjslist.hxx
+++ b/sw/source/core/access/accfrmobjslist.hxx
@@ -52,12 +52,6 @@ public:
         return m_aCurr == r.m_aCurr;
     }
 
-    bool operator!=(
-            const SwAccessibleChildSList_const_iterator& r ) const
-    {
-        return !(*this == r);
-    }
-
     SwAccessibleChildSList_const_iterator& operator++();
 
     const sw::access::SwAccessibleChild& operator*() const

Reply via email to