• Michael Stahl's avatar
    forms: avoid deadlock when setting FontControlModel properties · 6aefcb6a
    Michael Stahl yazdı
    Deadlock found in forms_unoapi on Windows, with
    OGridControlModel::setFastPropertyValue_NoBroadcast() calling event
    handler that tries to lock SolarMutex.
    
    FontControlModel::setFastPropertyValue_NoBroadcast() and its callers in
    3 other classes must not send events via firePropertyChange()
    because they are called by OPropertySetHelper::setFastPropertyValues()
    with its Mutex locked.
    
    It is possible (though sadly quite convoluted) to delay the sending of
    the events by calling setDependentFastPropertyValue() instead.
    
    Change-Id: I0c767cfec01fe1bcaeb1236287b5faf81a2e7441
    6aefcb6a
formcontrolfont.hxx 4.82 KB