summaryrefslogtreecommitdiffstats
path: root/slideshow
diff options
context:
space:
mode:
authorAndre Fischer <af@openoffice.org>2010-07-15 17:09:32 +0200
committerAndre Fischer <af@openoffice.org>2010-07-15 17:09:32 +0200
commitc29298b9000e4d2fb9661accef3c6fdab9e33eab (patch)
tree69a6af74d5f1b49b7493649a3a844da936de6a25 /slideshow
parentimpress195: #i112510# Stop leaking task pane FocusManager singleton. (diff)
downloadcore-c29298b9000e4d2fb9661accef3c6fdab9e33eab.tar.gz
core-c29298b9000e4d2fb9661accef3c6fdab9e33eab.zip
impress195: #i113169# Reducing default frame duration of animated images to 0.1s
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/shapes/gdimtftools.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/slideshow/source/engine/shapes/gdimtftools.cxx b/slideshow/source/engine/shapes/gdimtftools.cxx
index ea58ec2af9d7..fec62d0b5e44 100644
--- a/slideshow/source/engine/shapes/gdimtftools.cxx
+++ b/slideshow/source/engine/shapes/gdimtftools.cxx
@@ -491,9 +491,10 @@ bool getAnimationFromGraphic( VectorOfMtfAnimationFrames& o_rFrames,
nWaitTime100thSeconds = 100 * 60 * 60 * 24;
}
- // There are animated GIFs with no WaitTime set. Take 1 sec, then.
+ // There are animated GIFs with no WaitTime set. Take 0.1 sec, the
+ // same duration that is used by the edit view.
if( nWaitTime100thSeconds == 0 )
- nWaitTime100thSeconds = 100;
+ nWaitTime100thSeconds = 10;
o_rFrames.push_back( MtfAnimationFrame( pMtf,
nWaitTime100thSeconds / 100.0 ) );