throw if length of keys and values are different
commitbcdcdaa5dfc5f1d50e0239055161b71e97f5f022
authorXisco Fauli <xiscofauli@libreoffice.org>
Thu, 23 Jul 2020 14:52:14 +0000 (23 16:52 +0200)
committerMike Kaganski <mike.kaganski@collabora.com>
Fri, 24 Jul 2020 18:13:52 +0000 (24 20:13 +0200)
treedc95809f2fd5a5ed47b3176313ad5b051eb07454
parent1aa69422be40368c988060c82706c8262f8de737
throw if length of keys and values are different

See https://crashreport.libreoffice.org/stats/signature/%60anonymous%20namespace'::WriteAnimateValues

This is expected to start rejecting broken files, instead of accepting invalid  data silently,
as it did before. This is not a regression, and should be indication of corrupted generator,
which is the actual cause of the bug...

Change-Id: I66dbb380e8b2d313e58cddf938d952aed4a635b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99327
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
oox/source/ppt/timenode.cxx
sd/source/filter/eppt/pptx-animations.cxx
sd/source/filter/ppt/pptinanimations.cxx
xmloff/source/draw/animationimport.cxx