connectivity/source/drivers/macab/MacabHeader.cxx  |    4 ----
 connectivity/source/drivers/macab/MacabHeader.hxx  |    1 -
 connectivity/source/drivers/macab/MacabRecords.cxx |    5 -----
 connectivity/source/drivers/macab/MacabRecords.hxx |    1 -
 4 files changed, 11 deletions(-)

New commits:
commit d0c2c78725f5f50e3f2d08b3495cda6ec03b4297
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Tue Mar 15 08:35:42 2022 +0100
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Tue Mar 15 09:53:06 2022 +0100

    loplugin:trivialdestructor (macOS)
    
    Change-Id: I4f379f9f5c848e8fb01b05591d8a80a45719b43b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131578
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <[email protected]>

diff --git a/connectivity/source/drivers/macab/MacabHeader.cxx 
b/connectivity/source/drivers/macab/MacabHeader.cxx
index 46f0c177d3fc..da270dd05ac8 100644
--- a/connectivity/source/drivers/macab/MacabHeader.cxx
+++ b/connectivity/source/drivers/macab/MacabHeader.cxx
@@ -290,10 +290,6 @@ MacabHeader::iterator::iterator ()
 }
 
 
-MacabHeader::iterator::~iterator ()
-{
-}
-
 MacabHeader::iterator& MacabHeader::iterator::operator= (MacabHeader *_record)
 {
     id = 0;
diff --git a/connectivity/source/drivers/macab/MacabHeader.hxx 
b/connectivity/source/drivers/macab/MacabHeader.hxx
index a230d237ab72..24b3fc7b0b9c 100644
--- a/connectivity/source/drivers/macab/MacabHeader.hxx
+++ b/connectivity/source/drivers/macab/MacabHeader.hxx
@@ -50,7 +50,6 @@ namespace connectivity::macab
                     public:
                         iterator& operator= (MacabHeader *_record);
                         iterator();
-                        ~iterator();
                         void operator++ ();
                         bool operator!= (const sal_Int32 i) const;
                         bool operator== (const sal_Int32 i) const;
diff --git a/connectivity/source/drivers/macab/MacabRecords.cxx 
b/connectivity/source/drivers/macab/MacabRecords.cxx
index 4c2d4aed8fa1..17ee6585d45c 100644
--- a/connectivity/source/drivers/macab/MacabRecords.cxx
+++ b/connectivity/source/drivers/macab/MacabRecords.cxx
@@ -1099,11 +1099,6 @@ MacabRecords::iterator::iterator ()
 }
 
 
-MacabRecords::iterator::~iterator ()
-{
-}
-
-
 MacabRecords::iterator& MacabRecords::iterator::operator= (MacabRecords 
*_records)
 {
     id = 0;
diff --git a/connectivity/source/drivers/macab/MacabRecords.hxx 
b/connectivity/source/drivers/macab/MacabRecords.hxx
index 004d10b1b6d2..8d0d5cf6f796 100644
--- a/connectivity/source/drivers/macab/MacabRecords.hxx
+++ b/connectivity/source/drivers/macab/MacabRecords.hxx
@@ -113,7 +113,6 @@ namespace connectivity::macab
                         sal_Int32 id;
                         iterator& operator= (MacabRecords *_records);
                         iterator();
-                        ~iterator();
                         void operator++ ();
                         bool operator!= (const sal_Int32 i) const;
                         bool operator== (const sal_Int32 i) const;

Reply via email to