summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2020-12-24 11:32:51 +1100
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-12-26 19:25:17 +0100
commitb75c9642f0cae522c5cc0f059e801819662b2ddf (patch)
tree2afc38645359cc5dfd007b94b63117c8c1898239 /include/tools
parent43978d8f25a41c20c72d93cc3cb972c93c52674a (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/color.hxx3
1 files changed, 1 insertions, 2 deletions
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.