diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-10 09:55:14 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-10 12:08:40 +0000 |
commit | 9058b06443bb901d39641c47b6d7806eb9055b41 (patch) | |
tree | fcf09a77b27ea2871f978038fced53e382ddb908 /vcl/unx | |
parent | 058f84c946debbd9e4acf2641368fa8275c15057 (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/unx')
-rw-r--r-- | vcl/unx/generic/gdi/gdiimpl.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/unx/generic/gdi/gdiimpl.cxx b/vcl/unx/generic/gdi/gdiimpl.cxx index 1eda18a390ac..b186d3507369 100644 --- a/vcl/unx/generic/gdi/gdiimpl.cxx +++ b/vcl/unx/generic/gdi/gdiimpl.cxx @@ -1419,14 +1419,14 @@ void X11SalGraphicsImpl::invert( long nX, SalInvert nFlags ) { GC pGC; - if( SAL_INVERT_50 & nFlags ) + if( SalInvert::N50 & nFlags ) { pGC = GetInvert50GC(); XFillRectangle( mrParent.GetXDisplay(), mrParent.GetDrawable(), pGC, nX, nY, nDX, nDY ); } else { - if ( SAL_INVERT_TRACKFRAME & nFlags ) + if ( SalInvert::TrackFrame & nFlags ) { pGC = GetTrackingGC(); XDrawRectangle( mrParent.GetXDisplay(), mrParent.GetDrawable(), pGC, nX, nY, nDX, nDY ); @@ -1446,15 +1446,15 @@ void X11SalGraphicsImpl::invert( sal_uInt32 nPoints, SalPolyLine Points ( nPoints, pPtAry ); GC pGC; - if( SAL_INVERT_50 & nFlags ) + if( SalInvert::N50 & nFlags ) pGC = GetInvert50GC(); else - if ( SAL_INVERT_TRACKFRAME & nFlags ) + if ( SalInvert::TrackFrame & nFlags ) pGC = GetTrackingGC(); else pGC = GetInvertGC(); - if( SAL_INVERT_TRACKFRAME & nFlags ) + if( SalInvert::TrackFrame & nFlags ) DrawLines ( nPoints, Points, pGC, true ); else XFillPolygon( mrParent.GetXDisplay(), |