From b75c9642f0cae522c5cc0f059e801819662b2ddf Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Thu, 24 Dec 2020 11:32:51 +1100 Subject: vcl: use Color:IsTransparent() where appropriate Change-Id: I37bbab5f22f91faad65be8ef79734ce1ee6355d4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108249 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/tools/color.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/tools') diff --git a/include/tools/color.hxx b/include/tools/color.hxx index 964e8ca8d157..27b63b178715 100644 --- a/include/tools/color.hxx +++ b/include/tools/color.hxx @@ -143,11 +143,10 @@ public: } /** Is the color transparent? - * @returns true or false */ bool IsTransparent() const { - return (GetTransparency() != 0); + return GetTransparency() != 0; } /** Sets the red value. -- cgit