summaryrefslogtreecommitdiff
path: root/include/vcl/salbtype.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/salbtype.hxx')
-rw-r--r--include/vcl/salbtype.hxx11
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,