diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-07 09:10:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-07 09:49:26 +0100 |
commit | dbcf5b28aacba55d5f48e58a07fa4d6fc06931b9 (patch) | |
tree | 858a5755198f789344a99b31b9bb9d6ca3e96a95 /canvas/source | |
parent | 39a13fa68c87cc7e141cd75affe228b86dd817e3 (diff) |
use more Color in UnoControls..canvas
Change-Id: I8dda18f9630b4e59ead83fa7471525bdf4eaeda0
Reviewed-on: https://gerrit.libreoffice.org/50863
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas/source')
-rw-r--r-- | canvas/source/tools/canvastools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/tools/canvastools.cxx b/canvas/source/tools/canvastools.cxx index 63f264779b9a..10d109f5a52c 100644 --- a/canvas/source/tools/canvastools.cxx +++ b/canvas/source/tools/canvastools.cxx @@ -908,7 +908,7 @@ namespace canvas pCols[2] = rColor.GetBlue(); pCols[3] = 255-rColor.GetTransparency(); #else - *reinterpret_cast<sal_Int32*>(pCols) = rColor.GetColor(); + *reinterpret_cast<sal_Int32*>(pCols) = sal_Int32(rColor); #endif return aRet; } |