diff options
author | Dmitriy Shilin <dshil@fastmail.com> | 2019-01-07 01:10:27 -0800 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2019-01-18 16:39:03 +0100 |
commit | 643edcb11d635e09042d82d191279b6b1c2f25a9 (patch) | |
tree | 5655bc549d94c659b933ea565d050d0017f92ac1 /vcl/inc/win | |
parent | 74b23279c342f2484cdad64b211fb1972644d5a5 (diff) |
tdf#107792 vcl/win: introduce ScopedHBITMAP
Change-Id: I2af507d9b924644d3a0e8a4bf2e92ca4b8a9a1b4
Reviewed-on: https://gerrit.libreoffice.org/65929
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl/inc/win')
-rw-r--r-- | vcl/inc/win/scoped_gdi.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/win/scoped_gdi.hxx b/vcl/inc/win/scoped_gdi.hxx index 34e0e60a33c4..0fb82112e68c 100644 --- a/vcl/inc/win/scoped_gdi.hxx +++ b/vcl/inc/win/scoped_gdi.hxx @@ -29,6 +29,7 @@ using ScopedHRGN = ScopedGDI<HRGN, DeleteRegion>; using ScopedHDC = ScopedGDI<HDC, DeleteDC>; using ScopedHPEN = ScopedGDI<HPEN, DeletePen>; using ScopedHFONT = ScopedGDI<HFONT, DeleteFont>; +using ScopedHBITMAP = ScopedGDI<HBITMAP, DeleteBitmap>; template <typename ScopedH, auto SelectorFunc> class ScopedSelectedGDI { |