summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-01-22 17:13:59 +0100
committerMiklos Vajna <vmiklos@collabora.com>2021-01-22 19:47:33 +0100
commit6b15a8658f369e4144251854bcdb736acb595f47 (patch)
tree67b925c396bf8468a42b8ee420d1482d53fc21cd /oox
parent61d2014254a6bf1da68e2f13d3de2c099fcb8883 (diff)
PPTX filter: fix playFrom command handling for slide narrations
The import side went wrong in commit 812ee7a6dc29b55acfbeaa1a43e632adbaf72e6b (Removal rtl and string cleanup, 2012-12-31), which turned a prefix check into an equality check. The export side ignored the command parameters, now we write 'playFrom' instead of 'play' in case we have a start timestamp. Change-Id: Ia7e058e17400b1efbf7a6254355a70c4a5e15dbe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109825 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'oox')
-rw-r--r--oox/source/ppt/timenodelistcontext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ppt/timenodelistcontext.cxx b/oox/source/ppt/timenodelistcontext.cxx
index 017b95673c84..3b40af62f2d0 100644
--- a/oox/source/ppt/timenodelistcontext.cxx
+++ b/oox/source/ppt/timenodelistcontext.cxx
@@ -297,7 +297,7 @@ namespace oox::ppt {
{
nCommand = EffectCommands::PLAY;
}
- else if( msCommand == "playFrom" )
+ else if (msCommand.startsWith("playFrom"))
{
const OUString aMediaTime( msCommand.copy( 9, msCommand.getLength() - 10 ) );
rtl_math_ConversionStatus eStatus;