diff options
Diffstat (limited to 'canvas/source/tools')
-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 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 } |