summaryrefslogtreecommitdiff
path: root/vcl/opengl/gdiimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/opengl/gdiimpl.cxx')
-rw-r--r--vcl/opengl/gdiimpl.cxx6
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 );