diff options
Diffstat (limited to 'vcl/source/outdev/outdev.cxx')
-rw-r--r-- | vcl/source/outdev/outdev.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx index 2ea9988406c3..8555f5cd12d4 100644 --- a/vcl/source/outdev/outdev.cxx +++ b/vcl/source/outdev/outdev.cxx @@ -94,7 +94,7 @@ OutputDevice::OutputDevice() : maTextColor = Color( COL_BLACK ); maOverlineColor = Color( COL_TRANSPARENT ); meTextAlign = maFont.GetAlignment(); - meRasterOp = ROP_OVERPAINT; + meRasterOp = RasterOp::OverPaint; mnAntialiasing = AntialiasingFlags::NONE; meTextLanguage = 0; // TODO: get default from configuration? mbLineColor = true; @@ -418,7 +418,7 @@ void OutputDevice::DrawOutDev( const Point& rDestPt, const Size& rDestSize, if( ImplIsRecordLayout() ) return; - if ( ROP_INVERT == meRasterOp ) + if ( RasterOp::Invert == meRasterOp ) { DrawRect( Rectangle( rDestPt, rDestSize ) ); return; @@ -475,7 +475,7 @@ void OutputDevice::DrawOutDev( const Point& rDestPt, const Size& rDestSize, if ( ImplIsRecordLayout() ) return; - if ( ROP_INVERT == meRasterOp ) + if ( RasterOp::Invert == meRasterOp ) { DrawRect( Rectangle( rDestPt, rDestSize ) ); return; @@ -547,7 +547,7 @@ void OutputDevice::CopyArea( const Point& rDestPt, return; RasterOp eOldRop = GetRasterOp(); - SetRasterOp( ROP_OVERPAINT ); + SetRasterOp( RasterOp::OverPaint ); if ( !IsDeviceOutputNecessary() ) return; |