Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hi Noel,

        The old 'LINK' code is creating a bit of grief around VclPtr - since
un-typed pointers are shoved through there; I've extended that and am
auditing through the ~300 hits of PostUserEvent - but it'd be great to
make sure I got it right ;-) and that there are no regressions.

        The punch-line is that if there is a 'PostUserEvent' method - it should
be passed a LINK(<ptr>, ...)

        If that ptr is non-NULL and to a VclPtr type - we need to pass a final
'true' parameter to the method to ensure that we hold a reference while
we wait for the idle / user-event to be emitted to avoid problems.

        Is it easy / possible to add a check for that ? it'd be wonderful to
have one if so =)

        ATB,

                Michael.

-- 
 michael.meeks@collabora.com  <><, Pseudo Engineer, itinerant idiot


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.