summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-01 15:48:15 +0200
committerNoel Grandin <noel@peralex.com>2016-09-05 08:21:46 +0200
commita881fd7e66294ada222e1d618a7d47a0549a2342 (patch)
treecb928eb75f73e36ec3c93a44f2901617476e7fc8 /svx
parent8c5d90adaf1813c8f3a65487044b8fbe80f8bc85 (diff)
convert RasterOp to scoped enum
Change-Id: I136423c105316c9b5b18e64d04a248fd7ac5590b
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdobj.cxx2
-rw-r--r--svx/source/xoutdev/_xoutbmp.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index f534933ca456..669689451666 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -1827,7 +1827,7 @@ void SdrObject::PaintMacro(OutputDevice& rOut, const Rectangle& , const SdrObjMa
rOut.SetLineColor(COL_BLACK);
rOut.SetFillColor();
- rOut.SetRasterOp(ROP_INVERT);
+ rOut.SetRasterOp(RasterOp::Invert);
for(sal_uInt32 a(0); a < nCount; a++)
{
diff --git a/svx/source/xoutdev/_xoutbmp.cxx b/svx/source/xoutdev/_xoutbmp.cxx
index 592434b40154..af5d94e83abe 100644
--- a/svx/source/xoutdev/_xoutbmp.cxx
+++ b/svx/source/xoutdev/_xoutbmp.cxx
@@ -289,7 +289,7 @@ sal_uInt16 XOutBitmap::WriteGraphic( const Graphic& rGraphic, OUString& rFileNam
pVDev->Erase();
rGraphic.Draw( pVDev.get(), aPt, aSize );
- pVDev->SetRasterOp( ROP_XOR );
+ pVDev->SetRasterOp( RasterOp::Xor );
pVDev->DrawBitmap( aPt, aSize, aBitmap );
aGraphic = BitmapEx( aBitmap, pVDev->GetBitmap( aPt, aSize ) );
}