[Libreoffice-bugs] [Bug 107792] Introduce reference counting for GDI handles

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Apr 8 07:33:45 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=107792

Michael Meeks <michael.meeks at collabora.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |quikee at gmail.com

--- Comment #3 from Michael Meeks <michael.meeks at collabora.com> ---
I suspect you will need to create a class that does the DeleteDC in its
destructor to make this work =) Actually the ScopedHDC from that patch would
work just fine I think when wrapped in a shared_ptr - but perhaps it should be
renamed - Tomaz - thoughts ? =)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180408/78f2cecf/attachment.html>


More information about the Libreoffice-bugs mailing list