diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-20 15:51:01 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-22 17:53:16 +0000 |
commit | ae033e72144645bb86e70071acc6bf7e2f0dda80 (patch) | |
tree | df8e702672996728fdf2ee832a208a75b6649167 /vcl/quartz | |
parent | 57ef4457becdb5c66a3c0db9e499e1ac491860f2 (diff) |
Convert BitmapAccessMode to scoped enum
Change-Id: I0f2b86f0a34e257d00856ce4f1dbbb1869ec967a
Reviewed-on: https://gerrit.libreoffice.org/25208
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/quartz')
-rw-r--r-- | vcl/quartz/salbmp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx index 48906a399429..3817c94e9cb8 100644 --- a/vcl/quartz/salbmp.cxx +++ b/vcl/quartz/salbmp.cxx @@ -816,7 +816,7 @@ BitmapBuffer* QuartzSalBitmap::AcquireBuffer( BitmapAccessMode /*nMode*/ ) void QuartzSalBitmap::ReleaseBuffer( BitmapBuffer* pBuffer, BitmapAccessMode nMode ) { // invalidate graphic context if we have different data - if( nMode == BITMAP_WRITE_ACCESS ) + if( nMode == BitmapAccessMode::Write ) { maPalette = pBuffer->maPalette; if( mxGraphicContext ) |