summaryrefslogtreecommitdiff
path: root/vcl/quartz
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-10 09:55:14 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-10 12:08:40 +0000
commit9058b06443bb901d39641c47b6d7806eb9055b41 (patch)
treefcf09a77b27ea2871f978038fced53e382ddb908 /vcl/quartz
parent058f84c946debbd9e4acf2641368fa8275c15057 (diff)
Convert SAL_INVERT to scoped enum
Change-Id: If9f725c791f9d01efba098caed8387f21862fa04 Reviewed-on: https://gerrit.libreoffice.org/24825 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/quartz')
-rw-r--r--vcl/quartz/salgdicommon.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx
index 3efe620c5f8d..7b8fb2f220d8 100644
--- a/vcl/quartz/salgdicommon.cxx
+++ b/vcl/quartz/salgdicommon.cxx
@@ -1690,7 +1690,7 @@ void AquaSalGraphics::invert( long nX, long nY, long nWidth, long nHeight, SalIn
SAL_INFO( "vcl.cg", "CGContextSaveGState(" << mrContext << ") " << ++mnContextStackDepth);
CGContextSaveGState(mrContext);
- if ( nFlags & SAL_INVERT_TRACKFRAME )
+ if ( nFlags & SalInvert::TrackFrame )
{
const CGFloat dashLengths[2] = { 4.0, 4.0 }; // for drawing dashed line
CGContextSetBlendMode( mrContext, kCGBlendModeDifference );
@@ -1701,7 +1701,7 @@ void AquaSalGraphics::invert( long nX, long nY, long nWidth, long nHeight, SalIn
SAL_INFO( "vcl.cg", "CGContextStrokeRect(" << mrContext << "," << aCGRect << ")" );
CGContextStrokeRect ( mrContext, aCGRect );
}
- else if ( nFlags & SAL_INVERT_50 )
+ else if ( nFlags & SalInvert::N50 )
{
//CGContextSetAllowsAntialiasing( mrContext, false );
CGContextSetBlendMode(mrContext, kCGBlendModeDifference);
@@ -1748,7 +1748,7 @@ void AquaSalGraphics::invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalIn
CGContextSaveGState(mrContext);
CGPoint* CGpoints = makeCGptArray(nPoints,pPtAry);
CGContextAddLines ( mrContext, CGpoints, nPoints );
- if ( nSalFlags & SAL_INVERT_TRACKFRAME )
+ if ( nSalFlags & SalInvert::TrackFrame )
{
const CGFloat dashLengths[2] = { 4.0, 4.0 }; // for drawing dashed line
CGContextSetBlendMode( mrContext, kCGBlendModeDifference );
@@ -1759,7 +1759,7 @@ void AquaSalGraphics::invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalIn
SAL_INFO( "vcl.cg", "CGContextStrokePath(" << mrContext << ")" );
CGContextStrokePath ( mrContext );
}
- else if ( nSalFlags & SAL_INVERT_50 )
+ else if ( nSalFlags & SalInvert::N50 )
{
CGContextSetBlendMode(mrContext, kCGBlendModeDifference);
Pattern50Fill();