tdf#116899: normalize key times during PPT import if needed
commit4e207c2e17d75a3cb7b6b72690375279be40d64a
authorAron Budea <aron.budea@collabora.com>
Sun, 22 Apr 2018 14:10:28 +0000 (22 16:10 +0200)
committerAron Budea <aron.budea@collabora.com>
Thu, 17 May 2018 10:40:36 +0000 (17 12:40 +0200)
treebc95d36a7809ff0a969fd4126f832073acc96a5c
parentea955e2f2bfcf05c276b7f7598c7136c732a8542
tdf#116899: normalize key times during PPT import if needed

If TimeAnimationValueListEntry contains time with -1000,
key times have to be distributed evenly between 0 and 1.
([MS-PPT] 2.8.31)

Change-Id: I67a3b83f1f1832fade5df7908c58032bcb9b73ce
Reviewed-on: https://gerrit.libreoffice.org/53284
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
sd/qa/unit/data/ppt/tdf116899.ppt [new file with mode: 0644]
sd/qa/unit/import-tests.cxx
sd/source/filter/ppt/pptinanimations.cxx