summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorAnkit_Jaipuriar <ankitjaipuriar07@gmail.com>2023-10-10 19:33:31 +0530
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2023-11-03 07:48:19 +0100
commit47e06b18ede70f3496bc7da97e1761fe1dbf629c (patch)
tree396c025b4eaf04748b736300036a756348933aa4 /basegfx
parenta2e0b39b62129d9dbae438ec6b12fca210bbcbb5 (diff)
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.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/polygon/b2dpolygon.cxx5
-rw-r--r--basegfx/source/polygon/b3dpolygon.cxx5
2 files changed, 0 insertions, 10 deletions
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();