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

--- Comment #4 from Alex Thurgood <ipla...@tuta.io> ---
and here :

CFTypeRef IOHIDDeviceClass::createElement(CFDataRef data, IOHIDElementStruct *
element, uint32_t index, CFTypeRef parentElement, CFMutableDictionaryRef
elementCache, bool * isElementCached, IOOptionBits options)
{
    CFTypeRef   type = 0;
    CFNumberRef key = 0;
    uint32_t    cookie = element->cookieMin + index;

    if ( elementCache )
    {
        key = CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType, &cookie);

        if ( key )
        {
            type = CFDictionaryGetValue(elementCache, key);

            if ( type )
            {
                if (isElementCached)
                    *isElementCached = true;

                CFRetain(type);
                CFRelease(key);

                return type;
            }
        }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to