diff options
author | RafaĆ Dobrakowski <dobrakowskirafal@gmail.com> | 2024-02-08 01:24:46 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-02-09 04:11:01 +0100 |
commit | 3d2134c0116bc563d366f8cf23aae51de1e53938 (patch) | |
tree | 326e1bf41668808e62e7f540dc8b5fa6a39f798f /include | |
parent | b3fa6e6e65031f92d7f13b44f8422fe4aa07e2f9 (diff) |
tdf#157664 Drop operator !=, where respective operator == is defined
Found when working on 'tdf#141908'
Change-Id: I33aae153b448c4c6bf0a17810a16c34f8e400774
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163104
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/color.hxx | 9 | ||||
-rw-r--r-- | include/vcl/wall.hxx | 2 |
2 files changed, 0 insertions, 11 deletions
diff --git a/include/tools/color.hxx b/include/tools/color.hxx index 898524ac14a4..0520df6d3c68 100644 --- a/include/tools/color.hxx +++ b/include/tools/color.hxx @@ -258,15 +258,6 @@ public: return mValue == rColor.mValue; } - /** Check if the color value is unequal than rColor. - * @param rColor - * @return is unequal - */ - bool operator!=(const Color& rColor) const - { - return mValue != rColor.mValue; - } - /** Gets the color error compared to another. * It describes how different they are. * It takes the abs of differences in parameters. diff --git a/include/vcl/wall.hxx b/include/vcl/wall.hxx index 474d2afe500c..b756d447c5ed 100644 --- a/include/vcl/wall.hxx +++ b/include/vcl/wall.hxx @@ -92,8 +92,6 @@ public: Wallpaper& operator=( Wallpaper&& rWallpaper ); bool operator==( const Wallpaper& rWallpaper ) const; - bool operator!=( const Wallpaper& rWallpaper ) const - { return !(Wallpaper::operator==( rWallpaper )); } bool IsEmpty() const { |