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>
This commit is contained in:
Ankit_Jaipuriar
2023-10-10 19:33:31 +05:30
committed by Ilmari Lauhakangas
parent a2e0b39b62
commit 47e06b18ed
4 changed files with 0 additions and 12 deletions

View File

@@ -1116,11 +1116,6 @@ namespace basegfx
return ((*mpPolygon) == (*rPolygon.mpPolygon)); return ((*mpPolygon) == (*rPolygon.mpPolygon));
} }
bool B2DPolygon::operator!=(const B2DPolygon& rPolygon) const
{
return !(*this == rPolygon);
}
sal_uInt32 B2DPolygon::count() const sal_uInt32 B2DPolygon::count() const
{ {
return mpPolygon->count(); return mpPolygon->count();

View File

@@ -1413,11 +1413,6 @@ namespace basegfx
return (*mpPolygon == *rPolygon.mpPolygon); return (*mpPolygon == *rPolygon.mpPolygon);
} }
bool B3DPolygon::operator!=(const B3DPolygon& rPolygon) const
{
return !(*this == rPolygon);
}
sal_uInt32 B3DPolygon::count() const sal_uInt32 B3DPolygon::count() const
{ {
return mpPolygon->count(); return mpPolygon->count();

View File

@@ -72,7 +72,6 @@ namespace basegfx
/// compare operators /// compare operators
bool operator==(const B2DPolygon& rPolygon) const; bool operator==(const B2DPolygon& rPolygon) const;
bool operator!=(const B2DPolygon& rPolygon) const;
/// member count /// member count
sal_uInt32 count() const; sal_uInt32 count() const;

View File

@@ -58,7 +58,6 @@ namespace basegfx
// compare operators // compare operators
bool operator==(const B3DPolygon& rPolygon) const; bool operator==(const B3DPolygon& rPolygon) const;
bool operator!=(const B3DPolygon& rPolygon) const;
// member count // member count
sal_uInt32 count() const; sal_uInt32 count() const;