summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-01-08 14:35:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-01-08 18:14:17 +0100
commit498f6f67979f2cb62ca53a42963dc85c6102f179 (patch)
treef5296ecc96bb5eba9cd6cab79676259b69cb93ac /include/svtools
parent6911375ab66df6fd4cb2b922ea1c9e57b4fcd3b2 (diff)
use more IsTransparent
Change-Id: Ice7904f2531dba98101c5f7a05d14702fa897053 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108971 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/valueset.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx
index 7753546e1255..084008c79e2e 100644
--- a/include/svtools/valueset.hxx
+++ b/include/svtools/valueset.hxx
@@ -368,7 +368,7 @@ public:
}
bool IsColor() const
{
- return maColor.GetTransparency() == 0;
+ return !maColor.IsTransparent();
}
void SetExtraSpacing( sal_uInt16 nNewSpacing );