diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-01-09 14:06:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-01-10 10:45:58 +0000 |
commit | b00c1ea3c41aabd47f4965620e60462627f8ed26 (patch) | |
tree | 2b567b384e145caca69272494fc1f6094147e761 /sw | |
parent | f1d00da1bb16330bef9316a3e4f04506f9bb862f (diff) |
rename setAlphaFrom->ChangeColorAlpha and fix parameter
The nAlphaTo parameter was actually transparency. Change the
implementation and the call sites to actually use alpha.
Also remove one of the calls in Graphic::colorChange, because if the
BitmapEx has no alpha channel, the call was going to do nothing anyway.
Change-Id: I0bf27835b62596ac7c497c8606ceba04fcf859a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145205
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
0 files changed, 0 insertions, 0 deletions