• Mike Kaganski's avatar
    tdf#119146: fix populating maCurrentSubsets · a8aaffa6
    Mike Kaganski yazdı
    Regression from commit 4600b07c
    
    Before the mentioned commit, creating a subset X, and then adding
    sub-subsets until all the subset is excluded, had left the subset X
    with two *empty* nodes in maCurrentSubsets, 1st of them having both
    mnStartIndex and mnEndIndex equal to maSubset.mnStartIndex, and 2nd
    having both mnStartIndex and mnEndIndex equal to maSubset.mnEndIndex.
    
    The commit above changed that to adding maSubset to maCurrentSubsets
    in the beginning of each exclusion, which finally resulted in a messy
    maCurrentSubsets with multiple duplicating nodes effectively covering
    all maSubset. That resulted in the item as a whole handled *besides*
    the sub-subsets.
    
    This commit (1) avoids adding extra maSubset to maCurrentSubsets, and
    (2) adds the two empty nodes in case all the subset has been excluded
    by its sub-subsets.
    
    Change-Id: I7fc5f2d0b6ecf4f9247351da3a2746032150557b
    Reviewed-on: https://gerrit.libreoffice.org/59948
    Tested-by: Jenkins
    Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
    a8aaffa6
Adı
Son kayıt (commit)
Son güncelleme
..
inc/pch Loading commit data...
opengl Loading commit data...
qa Loading commit data...
source Loading commit data...
test Loading commit data...
util Loading commit data...
CppunitTest_slideshow.mk Loading commit data...
Executable_demoshow.mk Loading commit data...
Library_OGLTrans.mk Loading commit data...
Library_slideshow.mk Loading commit data...
Makefile Loading commit data...
Module_slideshow.mk Loading commit data...
Package_opengl.mk Loading commit data...
README Loading commit data...
manifest.txt Loading commit data...