summaryrefslogtreecommitdiff
path: root/sd/source/core/drawdoc.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-02-22 11:45:56 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2019-02-22 13:15:47 +0100
commitbde5a8623262e50c12a073eb5a78c95211a650a3 (patch)
tree62c7b027fb09f77fc3feda2ffb6974eef9a212df /sd/source/core/drawdoc.cxx
parent8136a034add5d1218db04ed3ac0ad077ef792c8a (diff)
tdf#61679 tdf#83247: default presentation pause should be 0 s
OpenDocument Version 1.2 [1] requires that missing presentation:pause attribute be treated as if 0 s duration was set. Changing the default here in PresentationSettings ctor will (1) allow LO to conform to the standard reading ODF; (2) not introduce the 10-s pause when importing external formats (such as PPT, which has no pause, and should work as if the pause is 0 s); and (3) change the default pause value for the newly created presentation (if no template is used). [1] http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1417722_253892949 Change-Id: I6df2e83d07980b679574ec81fae001ca40f116fd Reviewed-on: https://gerrit.libreoffice.org/68190 Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com> Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sd/source/core/drawdoc.cxx')
-rw-r--r--sd/source/core/drawdoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx
index 58c8a404b144..1ff77f1283c3 100644
--- a/sd/source/core/drawdoc.cxx
+++ b/sd/source/core/drawdoc.cxx
@@ -105,7 +105,7 @@ PresentationSettings::PresentationSettings()
mbAlwaysOnTop( false ),
mbFullScreen( true ),
mbAnimationAllowed( true ),
- mnPauseTimeout( 10 ),
+ mnPauseTimeout( 0 ),
mbShowPauseLogo( false )
{
}