diff options
Diffstat (limited to 'canvas/source/directx/dx_canvashelper.cxx')
-rw-r--r-- | canvas/source/directx/dx_canvashelper.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/canvas/source/directx/dx_canvashelper.cxx b/canvas/source/directx/dx_canvashelper.cxx index 1a252382a773..ecba3af57952 100644 --- a/canvas/source/directx/dx_canvashelper.cxx +++ b/canvas/source/directx/dx_canvashelper.cxx @@ -624,15 +624,15 @@ namespace dxcanvas // Setup an ImageAttributes with an alpha-modulating // color matrix. - const rendering::ARGBColor& rARGBColor( + rendering::ARGBColor aARGBColor( mpDevice->getDeviceColorSpace()->convertToARGB(renderState.DeviceColor)[0]); Gdiplus::ImageAttributes aImgAttr; tools::setModulateImageAttributes( aImgAttr, - rARGBColor.Red, - rARGBColor.Green, - rARGBColor.Blue, - rARGBColor.Alpha ); + aARGBColor.Red, + aARGBColor.Green, + aARGBColor.Blue, + aARGBColor.Alpha ); ENSURE_OR_THROW( Gdiplus::Ok == pGraphics->DrawImage( pBitmap.get(), |