diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-01-05 12:32:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-01-06 11:34:20 +0000 |
commit | 89b1d41e0d2cd16a4088e095de0f673807c4adac (patch) | |
tree | 0f5902636b16a48e976d07290df6f182fbff1c76 /include | |
parent | 337416dafb66ed8f930d2d69e83fae438fc85f3c (diff) |
use std::optional for SALCOLOR_NONE
instead of re-using an actual real color value, because it will totally
not work when I convert vcl to use alpha instead of transparency
Change-Id: I01f043e0b65ffd852989dfe28f2b9d5a43c9c3d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145075
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/salgtype.hxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/vcl/salgtype.hxx b/include/vcl/salgtype.hxx index a6559d68da23..efd5cc8060d3 100644 --- a/include/vcl/salgtype.hxx +++ b/include/vcl/salgtype.hxx @@ -33,8 +33,6 @@ enum class DeviceFormat { #endif }; -constexpr ::Color SALCOLOR_NONE ( ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF ); - struct SalTwoRect { tools::Long mnSrcX; |