• Miklos Vajna's avatar
    tdf#115873 sd navigator: adapt IsEqualToDoc() to Fill() further · 1f159a4d
    Miklos Vajna yazdı
    SdPageObjsTLB::Fill() populates the navigator tree list box,
    SdPageObjsTLB::IsEqualToDoc() determintes if it has to be refreshed or
    not.
    
    Commit f3c68cdf (tdf#115873 sd
    navigator: allow selecting but not focusing on objects, 2018-02-21)
    already brought IsEqualToDoc() closer to Fill() with using the same
    iteration mode for the SdrObjects, but that's not enough.
    
    Fill() uses flat iteration, then checks for group shapes explicitly and
    visits them recursively. Change IsEqualToDoc() to do the same, this way
    selecting "Rectangle 3" in the testcase won't result in a jump back to
    "Slide 1" (as an effect of IsEqualToDoc() returning false for an up to
    date tree list box).
    
    Change-Id: If2543cbc282af06ba43d4804e7ed455c8b9828cd
    Reviewed-on: https://gerrit.libreoffice.org/50234Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
    Tested-by: 's avatarJenkins <ci@libreoffice.org>
    1f159a4d
Adı
Son kayıt (commit)
Son güncelleme
..
accessibility Loading commit data...
animations Loading commit data...
annotations Loading commit data...
app Loading commit data...
controller Loading commit data...
dlg Loading commit data...
docshell Loading commit data...
framework Loading commit data...
func Loading commit data...
inc Loading commit data...
presenter Loading commit data...
remotecontrol Loading commit data...
sidebar Loading commit data...
slideshow Loading commit data...
slidesorter Loading commit data...
table Loading commit data...
tools Loading commit data...
uitest Loading commit data...
unoidl Loading commit data...
view Loading commit data...