summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorTuukka Orava <tuukka.orava@outlook.com>2024-03-11 00:26:05 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2024-03-11 05:39:23 +0100
commitc5bb6b0972f8f03b6c9d397d2d0f16c154c58e1c (patch)
tree3b793e7e65c727eb1ba50e3426a1472ee192011d /sw/inc
parenta00f608e6ae847b64a1824261029d770ccba841e (diff)
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.kaganski@collabora.com>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/redline.hxx2
-rw-r--r--sw/inc/swevent.hxx2
2 files changed, 0 insertions, 4 deletions
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()
{