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/opengl | |
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/opengl')
-rw-r--r-- | vcl/opengl/gdiimpl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index 65650c00fcab..c2b2ae3ba934 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -606,8 +606,8 @@ bool OpenGLSalGraphicsImpl::UseInvert( SalInvert nFlags ) { OpenGLZone aZone; - if( ( nFlags & SAL_INVERT_50 ) || - ( nFlags & SAL_INVERT_TRACKFRAME ) ) + if( ( nFlags & SalInvert::N50 ) || + ( nFlags & SalInvert::TrackFrame ) ) { // FIXME: Trackframe really should be 2 pix. on/off stipple. if( !UseInvert50() ) @@ -2251,7 +2251,7 @@ void OpenGLSalGraphicsImpl::invert( if( UseInvert( nFlags ) ) { - if( nFlags & SAL_INVERT_TRACKFRAME ) + if( nFlags & SalInvert::TrackFrame ) { // FIXME: could be more efficient. DrawRect( nX, nY, nWidth, 1 ); DrawRect( nX, nY + nHeight, nWidth, 1 ); |