diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-03-29 18:23:28 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-03-29 18:26:31 +0900 |
commit | 85d549adccb0d5942aca34f6836bf5e69bc0c736 (patch) | |
tree | 66749acd9261c54d6bee4ebfe0abb7a327a59178 /include/vcl/bitmap.hxx | |
parent | vcl: cleanup pngreader, use unique_ptr for pImpl (diff) | |
download | core-85d549adccb0d5942aca34f6836bf5e69bc0c736.tar.gz core-85d549adccb0d5942aca34f6836bf5e69bc0c736.zip |
vcl: add ScopedInfoAccess to Bitmap
Change-Id: I57292ef47ecec98d2faeff9689702e07050dde1b
Diffstat (limited to 'include/vcl/bitmap.hxx')
-rw-r--r-- | include/vcl/bitmap.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx index 25842c6d53e6..37f995456803 100644 --- a/include/vcl/bitmap.hxx +++ b/include/vcl/bitmap.hxx @@ -862,10 +862,9 @@ public: BitmapWriteAccess* AcquireWriteAccess(); void ReleaseAccess( BitmapInfoAccess* pAccess ); - typedef vcl::ScopedBitmapAccess< BitmapReadAccess, Bitmap, &Bitmap::AcquireReadAccess > - ScopedReadAccess; - typedef vcl::ScopedBitmapAccess< BitmapWriteAccess, Bitmap, &Bitmap::AcquireWriteAccess > - ScopedWriteAccess; + typedef vcl::ScopedBitmapAccess<BitmapReadAccess, Bitmap, &Bitmap::AcquireReadAccess> ScopedReadAccess; + typedef vcl::ScopedBitmapAccess<BitmapWriteAccess, Bitmap, &Bitmap::AcquireWriteAccess> ScopedWriteAccess; + typedef vcl::ScopedBitmapAccess<BitmapInfoAccess, Bitmap, &Bitmap::AcquireInfoAccess> ScopedInfoAccess; private: |