diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-01 15:48:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-09-05 08:21:46 +0200 |
commit | a881fd7e66294ada222e1d618a7d47a0549a2342 (patch) | |
tree | cb928eb75f73e36ec3c93a44f2901617476e7fc8 /vcl/source/outdev/line.cxx | |
parent | 8c5d90adaf1813c8f3a65487044b8fbe80f8bc85 (diff) |
convert RasterOp to scoped enum
Change-Id: I136423c105316c9b5b18e64d04a248fd7ac5590b
Diffstat (limited to 'vcl/source/outdev/line.cxx')
-rw-r--r-- | vcl/source/outdev/line.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/outdev/line.cxx b/vcl/source/outdev/line.cxx index c12e1e6e98f3..990efb555e34 100644 --- a/vcl/source/outdev/line.cxx +++ b/vcl/source/outdev/line.cxx @@ -116,7 +116,7 @@ void OutputDevice::DrawLine( const Point& rStartPt, const Point& rEndPt ) // #i101598# support AA and snap for lines, too if((mnAntialiasing & AntialiasingFlags::EnableB2dDraw) && mpGraphics->supportsOperation(OutDevSupportType::B2DDraw) - && ROP_OVERPAINT == GetRasterOp() + && RasterOp::OverPaint == GetRasterOp() && IsLineColor()) { // at least transform with double precision to device coordinates; this will @@ -160,7 +160,7 @@ void OutputDevice::drawLine( basegfx::B2DPolyPolygon aLinePolyPolygon, const Lin { const bool bTryAA((mnAntialiasing & AntialiasingFlags::EnableB2dDraw) && mpGraphics->supportsOperation(OutDevSupportType::B2DDraw) - && ROP_OVERPAINT == GetRasterOp() + && RasterOp::OverPaint == GetRasterOp() && IsLineColor()); basegfx::B2DPolyPolygon aFillPolyPolygon; const bool bDashUsed(LINE_DASH == rInfo.GetStyle()); |