At least in calc a theme index is a zero based index into the clrScheme. A map is unsiutable for that task so let us use a vector and still allow to get them by their tokens.
f312104 use index as real index and not token, tdf#90511
include/oox/drawingml/clrscheme.hxx | 5 ++++-
oox/source/drawingml/clrscheme.cxx | 33 ++++++++++++++++++++++++++---
sc/source/filter/inc/themebuffer.hxx | 2 ++
sc/source/filter/oox/condformatbuffer.cxx | 2 +-
sc/source/filter/oox/themebuffer.cxx | 6 ++++++
5 files changed, 43 insertions(+), 5 deletions(-)
Upstream: cgit.freedesktop.org