diff options
author | Mark Page <aptitude@btconnect.com> | 2016-12-01 13:53:30 +0000 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-02 11:18:16 +0000 |
commit | 677246466c471fbe3522c35be3639afa008a46c0 (patch) | |
tree | ccee5e72c1b274d3c51c0f4d11c369270de11fe4 /vcl/inc/canvasbitmap.hxx | |
parent | 4d2c210c74567d9af6bededf3fae6bfd62406f14 (diff) |
Extend ScopedBitmapAccess and modify various classes to use it
Exception safety, ensure the Access classes are always destroyed.
Change-Id: I4889358476267853ffbd7fafc24950d84b4e9331
Reviewed-on: https://gerrit.libreoffice.org/31494
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/canvasbitmap.hxx')
-rw-r--r-- | vcl/inc/canvasbitmap.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/canvasbitmap.hxx b/vcl/inc/canvasbitmap.hxx index 292c432debcf..0b5dba96f6c7 100644 --- a/vcl/inc/canvasbitmap.hxx +++ b/vcl/inc/canvasbitmap.hxx @@ -42,8 +42,8 @@ namespace unotools BitmapEx m_aBmpEx; ::Bitmap m_aBitmap; ::Bitmap m_aAlpha; - BitmapReadAccess* m_pBmpAcc; - BitmapReadAccess* m_pAlphaAcc; + Bitmap::ScopedReadAccess m_pBmpAcc; + Bitmap::ScopedReadAccess m_pAlphaAcc; css::uno::Sequence<sal_Int8> m_aComponentTags; css::uno::Sequence<sal_Int32> m_aComponentBitCounts; css::rendering::IntegerBitmapLayout m_aLayout; |