connectivity/source/drivers/macab/MacabHeader.cxx | 6 ------ connectivity/source/drivers/macab/MacabHeader.hxx | 1 - connectivity/source/drivers/macab/MacabRecords.cxx | 6 ------ connectivity/source/drivers/macab/MacabRecords.hxx | 1 - 4 files changed, 14 deletions(-)
New commits: commit 5553052f304819eb8cedb7e122fd8a47281912f1 Author: kallial <[email protected]> AuthorDate: Thu Oct 16 17:37:59 2025 +0300 Commit: Ilmari Lauhakangas <[email protected]> CommitDate: Fri Oct 17 12:43:52 2025 +0200 tdf#157664 Drop operator !=, where respective operator == is defined Change-Id: I2f99ffc7099dfc2bb47a5102cdb6fd661858a8cf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192540 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <[email protected]> diff --git a/connectivity/source/drivers/macab/MacabHeader.cxx b/connectivity/source/drivers/macab/MacabHeader.cxx index 916fff74cde6..c8684fd69332 100644 --- a/connectivity/source/drivers/macab/MacabHeader.cxx +++ b/connectivity/source/drivers/macab/MacabHeader.cxx @@ -316,12 +316,6 @@ void MacabHeader::iterator::operator++ () } -bool MacabHeader::iterator::operator!= (const sal_Int32 i) const -{ - return(id != i); -} - - bool MacabHeader::iterator::operator== (const sal_Int32 i) const { return(id == i); diff --git a/connectivity/source/drivers/macab/MacabHeader.hxx b/connectivity/source/drivers/macab/MacabHeader.hxx index 2c110990e985..5eb646b31e94 100644 --- a/connectivity/source/drivers/macab/MacabHeader.hxx +++ b/connectivity/source/drivers/macab/MacabHeader.hxx @@ -51,7 +51,6 @@ namespace connectivity::macab iterator& operator= (MacabHeader *_record); iterator(); void operator++ (); - bool operator!= (const sal_Int32 i) const; bool operator== (const sal_Int32 i) const; macabfield *operator* () const; }; diff --git a/connectivity/source/drivers/macab/MacabRecords.cxx b/connectivity/source/drivers/macab/MacabRecords.cxx index b1fe5716487f..aa274154487d 100644 --- a/connectivity/source/drivers/macab/MacabRecords.cxx +++ b/connectivity/source/drivers/macab/MacabRecords.cxx @@ -1155,12 +1155,6 @@ void MacabRecords::iterator::operator++ () } -bool MacabRecords::iterator::operator!= (const sal_Int32 i) const -{ - return(id != i); -} - - bool MacabRecords::iterator::operator== (const sal_Int32 i) const { return(id == i); diff --git a/connectivity/source/drivers/macab/MacabRecords.hxx b/connectivity/source/drivers/macab/MacabRecords.hxx index ec688bf8d1f6..658fd0307dcb 100644 --- a/connectivity/source/drivers/macab/MacabRecords.hxx +++ b/connectivity/source/drivers/macab/MacabRecords.hxx @@ -114,7 +114,6 @@ namespace connectivity::macab iterator& operator= (MacabRecords *_records); iterator(); void operator++ (); - bool operator!= (const sal_Int32 i) const; bool operator== (const sal_Int32 i) const; MacabRecord *operator* () const; };
