basegfx/source/polygon/b2dpolygon.cxx  |    5 -----
 basegfx/source/polygon/b3dpolygon.cxx  |    5 -----
 include/basegfx/polygon/b2dpolygon.hxx |    1 -
 include/basegfx/polygon/b3dpolygon.hxx |    1 -
 4 files changed, 12 deletions(-)

New commits:
commit 47e06b18ede70f3496bc7da97e1761fe1dbf629c
Author:     Ankit_Jaipuriar <ankitjaipuria...@gmail.com>
AuthorDate: Tue Oct 10 19:33:31 2023 +0530
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Fri Nov 3 07:48:19 2023 +0100

    tdf#157664 Drop operator !=, where respective operator == is defined
    
    Change-Id: I88b25dd676fc57303978e3d5e875af129240b676
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157762
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/basegfx/source/polygon/b2dpolygon.cxx 
b/basegfx/source/polygon/b2dpolygon.cxx
index ed5954bf0cf7..cf7309d20dd3 100644
--- a/basegfx/source/polygon/b2dpolygon.cxx
+++ b/basegfx/source/polygon/b2dpolygon.cxx
@@ -1116,11 +1116,6 @@ namespace basegfx
         return ((*mpPolygon) == (*rPolygon.mpPolygon));
     }
 
-    bool B2DPolygon::operator!=(const B2DPolygon& rPolygon) const
-    {
-        return !(*this == rPolygon);
-    }
-
     sal_uInt32 B2DPolygon::count() const
     {
         return mpPolygon->count();
diff --git a/basegfx/source/polygon/b3dpolygon.cxx 
b/basegfx/source/polygon/b3dpolygon.cxx
index c1ee4b08345a..ebd9e3f4f7ea 100644
--- a/basegfx/source/polygon/b3dpolygon.cxx
+++ b/basegfx/source/polygon/b3dpolygon.cxx
@@ -1413,11 +1413,6 @@ namespace basegfx
         return (*mpPolygon == *rPolygon.mpPolygon);
     }
 
-    bool B3DPolygon::operator!=(const B3DPolygon& rPolygon) const
-    {
-        return !(*this == rPolygon);
-    }
-
     sal_uInt32 B3DPolygon::count() const
     {
         return mpPolygon->count();
diff --git a/include/basegfx/polygon/b2dpolygon.hxx 
b/include/basegfx/polygon/b2dpolygon.hxx
index 435ebf419cba..c63bda845d96 100644
--- a/include/basegfx/polygon/b2dpolygon.hxx
+++ b/include/basegfx/polygon/b2dpolygon.hxx
@@ -72,7 +72,6 @@ namespace basegfx
 
         /// compare operators
         bool operator==(const B2DPolygon& rPolygon) const;
-        bool operator!=(const B2DPolygon& rPolygon) const;
 
         /// member count
         sal_uInt32 count() const;
diff --git a/include/basegfx/polygon/b3dpolygon.hxx 
b/include/basegfx/polygon/b3dpolygon.hxx
index ea9ea2fdedcf..13f8ed293f59 100644
--- a/include/basegfx/polygon/b3dpolygon.hxx
+++ b/include/basegfx/polygon/b3dpolygon.hxx
@@ -58,7 +58,6 @@ namespace basegfx
 
         // compare operators
         bool operator==(const B3DPolygon& rPolygon) const;
-        bool operator!=(const B3DPolygon& rPolygon) const;
 
         // member count
         sal_uInt32 count() const;

Reply via email to