From 8ee6209611600f8f8718b90349ea8c5ea25a0d69 Mon Sep 17 00:00:00 2001 From: "pavlov%pavlov.net" Date: Fri, 7 Jul 2006 23:13:39 +0000 Subject: [PATCH] adding != operator. r=mrbkap/sicking --- gfx/thebes/public/gfxMatrix.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gfx/thebes/public/gfxMatrix.h b/gfx/thebes/public/gfxMatrix.h index b39213bd298..7f48fb3eaff 100644 --- a/gfx/thebes/public/gfxMatrix.h +++ b/gfx/thebes/public/gfxMatrix.h @@ -96,6 +96,10 @@ public: (mat.y0 == m.mat.y0)); } + bool operator!=(const gfxMatrix& m) const { + return !(*this == m); + } + gfxMatrix& operator=(const cairo_matrix_t& m) { mat = m; return *this;