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 /include | |
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 'include')
-rw-r--r-- | include/vcl/salbtype.hxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/vcl/salbtype.hxx b/include/vcl/salbtype.hxx index 36da41db3593..769549d2beb2 100644 --- a/include/vcl/salbtype.hxx +++ b/include/vcl/salbtype.hxx @@ -266,13 +266,12 @@ struct VCL_DLLPUBLIC BitmapBuffer sal_uInt8* mpBits; }; -typedef enum +enum class BitmapAccessMode { - BITMAP_INFO_ACCESS, - BITMAP_READ_ACCESS, - BITMAP_WRITE_ACCESS -} -BitmapAccessMode; + Info, + Read, + Write +}; VCL_DLLPUBLIC BitmapBuffer* StretchAndConvert( const BitmapBuffer& rSrcBuffer, const SalTwoRect& rTwoRect, |