From d282dec83e5d4aba749baba857e0f9b4573bc414 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 8 Feb 2016 14:27:26 +0200 Subject: revert part of "loplugin:unusedmethods" noelgrandin, just happen to look at b14224fe again; looks a bit scary to remove == or != from cases where both where declared sberg, ok, I can revert that part noelgrandin, I guess that would be safer (there could be cases where now a different overload could kick in) Change-Id: I5dc41c05dc4439d5adee0e5b3e0a9e1dfb9de3af Reviewed-on: https://gerrit.libreoffice.org/22211 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- include/vcl/inputctx.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/vcl/inputctx.hxx') diff --git a/include/vcl/inputctx.hxx b/include/vcl/inputctx.hxx index c2e0f172265e..d1f3f9ff3f5b 100644 --- a/include/vcl/inputctx.hxx +++ b/include/vcl/inputctx.hxx @@ -68,6 +68,8 @@ public: InputContext& operator=( const InputContext& rInputContext ); bool operator==( const InputContext& rInputContext ) const; + bool operator!=( const InputContext& rInputContext ) const + { return !(InputContext::operator==( rInputContext )); } }; inline InputContext& InputContext::operator=( const InputContext& rInputContext ) -- cgit