summaryrefslogtreecommitdiff
path: root/canvas/source/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-22 13:29:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-26 07:20:25 +0100
commitace95cf48ee88d78a17765e5f4f26bb93d5940cf (patch)
tree206d070d4b9eef0c84a78deda5df863ac174354c /canvas/source/tools
parentfa2dd2ba03f8be1f148dca8f6164daaf7bbf7d96 (diff)
ColorData->Color in various
Change-Id: I22018b6a535224316d93bfd621771248b873a218 Reviewed-on: https://gerrit.libreoffice.org/50167 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas/source/tools')
-rw-r--r--canvas/source/tools/canvastools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/tools/canvastools.cxx b/canvas/source/tools/canvastools.cxx
index 477ba03b3703..63f264779b9a 100644
--- a/canvas/source/tools/canvastools.cxx
+++ b/canvas/source/tools/canvastools.cxx
@@ -894,7 +894,7 @@ namespace canvas
const sal_Int8* pCols( rColor.getConstArray() );
return ::Color( pCols[3], pCols[0], pCols[1], pCols[2] );
#else
- return ::Color( *reinterpret_cast< const ::ColorData* >(rColor.getConstArray()) );
+ return ::Color( *reinterpret_cast< const ::sal_uInt32* >(rColor.getConstArray()) );
#endif
}