diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-04-27 12:23:48 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-04-27 12:32:57 +0200 |
commit | 916cbd94d1c848bc69166915b96ff89ac380c913 (patch) | |
tree | 5203249976c6f31fb2cddcac5e014a842723eca2 /sd | |
parent | 5994d609392b34b185daab53a99be1a16f2ee143 (diff) |
ANIMATIONMODE_VIEW can be removed
See http://nabble.documentfoundation.org/About-ANIMATIONMODE-VIEW-in-slideshow-module-td4106488.html
Change-Id: I0405e8ef41105a53ac056382aa6b32d2a573c170
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/slideshow.hxx | 1 | ||||
-rw-r--r-- | sd/source/ui/slideshow/slideshowimpl.cxx | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/inc/slideshow.hxx b/sd/source/ui/inc/slideshow.hxx index 0b87ebadc0e2..20324f5e0047 100644 --- a/sd/source/ui/inc/slideshow.hxx +++ b/sd/source/ui/inc/slideshow.hxx @@ -72,7 +72,6 @@ class FrameView; enum AnimationMode { ANIMATIONMODE_SHOW, - ANIMATIONMODE_VIEW, ANIMATIONMODE_PREVIEW }; diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index 1c3556f557db..ce7c5506f2a0 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -2659,7 +2659,7 @@ void SlideshowImpl::resize( const Size& rSize ) { maPresSize = rSize; - if( mpShowWindow && (ANIMATIONMODE_VIEW != meAnimationMode) ) + if(mpShowWindow) { mpShowWindow->SetSizePixel( maPresSize ); mpShowWindow->Show(); |