• Tor Lillqvist's avatar
    WaE: null passed to a callee that requires a non-null argument · 1276bf03
    Tor Lillqvist yazdı
    But actually I strongly suspect that this is dead
    code.
    
    [AquaA11yTextWrapper rTFForRangeAttributeForElement:forParameter:] is
    called only from [AquaA11yWrapper rTFForRangeAttributeForParameter:],
    and that is not called from our code, nor do I see any mention of
    either rTFForRangeAttributeForElement or
    rTFForRangeAttributeForParameter in documentation or when googling.
    
    The NSView documentation does talk about accessibilityRTFForRange,
    though. Could this be some copy/paste error since initial commit, code
    that has never been tested? Would not surprise me a bit.
    
    Change-Id: Ia1351c293e51e0b75d8b222f78ea19f7801a7c18
    1276bf03
a11ytextwrapper.mm 12 KB