summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-18 15:41:24 +0200
committerNoel Grandin <noel@peralex.com>2015-05-20 09:52:08 +0200
commitdcefc97c8bd5be9ba229098c32d2a5c73d084163 (patch)
tree860caac40b5c15ddb3cd1297316975d7034b260e /toolkit
parent953f327818f565969b8de5d9b956bd6b9a7c64b2 (diff)
convert IMAGE_DRAW_ constants to scoped enum
Change-Id: I75619eeb902af4953a5ac1525605cf3f0f15e2c0
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxgraphics.cxx2
1 files changed, 1 insertions, 1 deletions
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<DrawImageFlags>(nStyle) );
}
}
}