diff options
Diffstat (limited to 'slideshow/source/engine/effectrewinder.cxx')
-rw-r--r-- | slideshow/source/engine/effectrewinder.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/slideshow/source/engine/effectrewinder.cxx b/slideshow/source/engine/effectrewinder.cxx index a318d9c2d9b7..96ba0e048281 100644 --- a/slideshow/source/engine/effectrewinder.cxx +++ b/slideshow/source/engine/effectrewinder.cxx @@ -164,7 +164,7 @@ bool EffectRewinder::rewind ( // Do not allow nested rewinds. if (mpAsynchronousRewindEvent) { - assert( ! mpAsynchronousRewindEvent); + OSL_ASSERT( ! mpAsynchronousRewindEvent); return false; } @@ -177,7 +177,7 @@ bool EffectRewinder::rewind ( { if ( ! rPreviousSlideFunctor) { - assert(rPreviousSlideFunctor); + OSL_ASSERT(rPreviousSlideFunctor); return false; } @@ -216,7 +216,7 @@ void EffectRewinder::skipAllMainSequenceEffects() // Do not allow nested rewinds. if (mpAsynchronousRewindEvent) { - assert(!mpAsynchronousRewindEvent); + OSL_ASSERT(!mpAsynchronousRewindEvent); return; } @@ -330,7 +330,7 @@ void EffectRewinder::asynchronousRewind ( const bool bRedisplayCurrentSlide, const std::function<void ()>& rSlideRewindFunctor) { - assert(mpAsynchronousRewindEvent); + OSL_ASSERT(mpAsynchronousRewindEvent); if (bRedisplayCurrentSlide) { @@ -372,7 +372,7 @@ void EffectRewinder::asynchronousRewind ( void EffectRewinder::asynchronousRewindToPreviousSlide ( const ::std::function<void ()>& rSlideRewindFunctor) { - assert(mpAsynchronousRewindEvent); + OSL_ASSERT(mpAsynchronousRewindEvent); mpAsynchronousRewindEvent.reset(); rSlideRewindFunctor(); |