diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-01-27 14:25:21 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-01-27 18:04:44 +0100 |
commit | 020c721fa937d63b2c1b1bf6185ce1060e630676 (patch) | |
tree | 7d3fe109dc7d4ed98fe64deb45927ee36b0bed45 /oox/source/ppt/timenode.cxx | |
parent | fad5b7b9cf936bf6df49e2ac28977f350db24253 (diff) |
PPTX filter: fix lost is-narration property for slide narrations
Otherwise removing narrations don't work in powerpoint, it would say
there are no narrations, just plain media shapes.
Change-Id: Ibd0478540ac018bc23f81223846518b3bf7c7c2a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110016
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'oox/source/ppt/timenode.cxx')
-rw-r--r-- | oox/source/ppt/timenode.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/oox/source/ppt/timenode.cxx b/oox/source/ppt/timenode.cxx index 978c24a0eabe..5d7604ec0952 100644 --- a/oox/source/ppt/timenode.cxx +++ b/oox/source/ppt/timenode.cxx @@ -342,6 +342,12 @@ namespace oox::ppt { xAudio->setHideDuringShow(bBool); } break; + case NP_ISNARRATION: + if (xAudio.is() && (aValue >>= bBool)) + { + xAudio->setNarration(bBool); + } + break; case NP_TARGET: if (xParent.is() && xParent->getType() == AnimationNodeType::ITERATE) |