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 /cui | |
parent | 8c5d90adaf1813c8f3a65487044b8fbe80f8bc85 (diff) |
convert RasterOp to scoped enum
Change-Id: I136423c105316c9b5b18e64d04a248fd7ac5590b
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/grfpage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/grfpage.cxx b/cui/source/tabpages/grfpage.cxx index f6a1a8716af1..e1b4a94cd43d 100644 --- a/cui/source/tabpages/grfpage.cxx +++ b/cui/source/tabpages/grfpage.cxx @@ -791,7 +791,7 @@ void SvxCropExample::Paint(vcl::RenderContext& rRenderContext, const Rectangle&) Size aWinSize(rRenderContext.PixelToLogic(GetOutputSizePixel())); rRenderContext.SetLineColor(); rRenderContext.SetFillColor(rRenderContext.GetSettings().GetStyleSettings().GetWindowColor()); - rRenderContext.SetRasterOp(ROP_OVERPAINT); + rRenderContext.SetRasterOp(RasterOp::OverPaint); rRenderContext.DrawRect(Rectangle(Point(), aWinSize)); rRenderContext.SetLineColor(Color(COL_WHITE)); @@ -803,7 +803,7 @@ void SvxCropExample::Paint(vcl::RenderContext& rRenderContext, const Rectangle&) Size aSz(2, 0); aSz = rRenderContext.PixelToLogic(aSz); rRenderContext.SetFillColor(Color(COL_TRANSPARENT)); - rRenderContext.SetRasterOp(ROP_INVERT); + rRenderContext.SetRasterOp(RasterOp::Invert); aRect.Left() += aTopLeft.Y(); aRect.Top() += aTopLeft.X(); aRect.Right() -= aBottomRight.Y(); |