diff options
-rw-r--r-- | include/tools/color.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/color.hxx b/include/tools/color.hxx index cd472fd472ee..59ac4381de03 100644 --- a/include/tools/color.hxx +++ b/include/tools/color.hxx @@ -90,7 +90,7 @@ public: } constexpr Color(enum ColorAlphaTag, sal_uInt32 nColor) - : mValue((nColor & 0xffffff) | (255 - (nColor >> 24))) + : mValue((nColor & 0xffffff) | ((255 - (nColor >> 24)) << 24)) { } |