include/tools/color.hxx |    9 ---------
 include/vcl/wall.hxx    |    2 --
 2 files changed, 11 deletions(-)

New commits:
commit 3d2134c0116bc563d366f8cf23aae51de1e53938
Author:     Rafał Dobrakowski <dobrakowskira...@gmail.com>
AuthorDate: Thu Feb 8 01:24:46 2024 +0100
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Fri Feb 9 04:11:01 2024 +0100

    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.kagan...@collabora.com>

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
     {

Reply via email to