From dcefc97c8bd5be9ba229098c32d2a5c73d084163 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 18 May 2015 15:41:24 +0200 Subject: convert IMAGE_DRAW_ constants to scoped enum Change-Id: I75619eeb902af4953a5ac1525605cf3f0f15e2c0 --- toolkit/source/awt/vclxgraphics.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit/source') diff --git a/toolkit/source/awt/vclxgraphics.cxx b/toolkit/source/awt/vclxgraphics.cxx index f4155b1e2762..073afa5946fd 100644 --- a/toolkit/source/awt/vclxgraphics.cxx +++ b/toolkit/source/awt/vclxgraphics.cxx @@ -514,7 +514,7 @@ void VCLXGraphics::drawImage( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int if ( !!aImage ) { InitOutputDevice( InitOutDevFlags::CLIPREGION|InitOutDevFlags::RASTEROP|InitOutDevFlags::COLORS ); - mpOutputDevice->DrawImage( Point( x, y ), Size( width, height ), aImage, nStyle ); + mpOutputDevice->DrawImage( Point( x, y ), Size( width, height ), aImage, static_cast(nStyle) ); } } } -- cgit