summaryrefslogtreecommitdiffstats
path: root/sfx2
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-03-16 23:03:58 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-03-18 14:14:43 +0000
commit00b05b936b85e0db52f0cd616bda02224c64768b (patch)
tree917ae07efa9bcd3836ed52498a06be1d4716015b /sfx2
parentResolves: tdf#98726 sneaky transparent clearlooks-phenix scrollbars (diff)
downloadcore-00b05b936b85e0db52f0cd616bda02224c64768b.tar.gz
core-00b05b936b85e0db52f0cd616bda02224c64768b.zip
ensure a correct index is assigned to a duplicated ScRangeData instance
ScRangeName::insert() assigns an index only if the passed ScRangeData instance's index was 0. Duplicating an ScRangeData object duplicates also the index, so effectively two instances with the same index could be inserted to the named expressions collection, a following ScRangeName::findByIndex() retrieved one of them by chance. Change-Id: Ic141ffb1a683bda5907f4359167da84faf1649e1 (cherry picked from commit 336d816176650726f6d14539464d9fd28ddd032d) Reviewed-on: https://gerrit.libreoffice.org/23323 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sfx2')
0 files changed, 0 insertions, 0 deletions