diff options
author | Eike Rathke <erack@redhat.com> | 2016-03-16 23:03:58 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-03-17 11:38:29 +0100 |
commit | 336d816176650726f6d14539464d9fd28ddd032d (patch) | |
tree | 1212c0dbab74ec6ef2b691d5030ab928712db114 /sw/source/uibase/ribbar/inputwin.cxx | |
parent | loplugin:constantparam in sot (diff) | |
download | core-336d816176650726f6d14539464d9fd28ddd032d.tar.gz core-336d816176650726f6d14539464d9fd28ddd032d.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
Diffstat (limited to 'sw/source/uibase/ribbar/inputwin.cxx')
0 files changed, 0 insertions, 0 deletions