diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-11-19 11:09:51 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-11-22 13:49:01 +0100 |
commit | 53ce0e3af4dcb1c70380016b3824da71548cdc60 (patch) | |
tree | b4077a95525b1b0f0026e2e84957136f396fe6cc /vcl/skia/salbmp.cxx | |
parent | 1b327e4a33a2a2c575c247ea90365652d6549852 (diff) |
move code to helper functions
I'll want some common extra functionality there later.
Change-Id: I249f9ca4662fc8e8d52c58b1bd33293f363464d8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125643
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/skia/salbmp.cxx')
-rw-r--r-- | vcl/skia/salbmp.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/skia/salbmp.cxx b/vcl/skia/salbmp.cxx index 8e1938d15c50..32545963db1b 100644 --- a/vcl/skia/salbmp.cxx +++ b/vcl/skia/salbmp.cxx @@ -698,11 +698,6 @@ SkBitmap SkiaSalBitmap::GetAsSkBitmap() const return bitmap; } -static SkColor toSkColor(Color color) -{ - return SkColorSetARGB(color.GetAlpha(), color.GetRed(), color.GetGreen(), color.GetBlue()); -} - // If mEraseColor is set, this is the color to use when the bitmap is used as alpha bitmap. // E.g. COL_BLACK actually means fully opaque and COL_WHITE means fully transparent. // This is because the alpha value is set as the color itself, not the alpha of the color. |