diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 11:16:44 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 11:16:44 +1000 |
commit | 6ffc3cf9e54ab92f2e7811f5e0ff0c9609c65f3a (patch) | |
tree | 8b885a493397fb8217e674e6aaff1d6b4344afac /slideshow/source/engine/shapes/drawinglayeranimation.cxx | |
parent | ff76c90fb40c4246a835686ca0b4db8fe6b7dbd1 (diff) |
tdf#43157: convert slideshow module away from OSL_ASSERT to assert
Change-Id: I6a067922bd701387172d94713ec05fc3313de19c
Diffstat (limited to 'slideshow/source/engine/shapes/drawinglayeranimation.cxx')
-rw-r--r-- | slideshow/source/engine/shapes/drawinglayeranimation.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/shapes/drawinglayeranimation.cxx b/slideshow/source/engine/shapes/drawinglayeranimation.cxx index d4941f8300cf..7fdbc2f3a8fb 100644 --- a/slideshow/source/engine/shapes/drawinglayeranimation.cxx +++ b/slideshow/source/engine/shapes/drawinglayeranimation.cxx @@ -581,7 +581,7 @@ sal_uInt32 ActivityImpl::ImpRegisterAgainScrollTextMixerState(sal_uInt32 nTime) void ActivityImpl::updateShapeAttributes( double fTime, basegfx::B2DRectangle const& parentBounds ) { - OSL_ASSERT( meAnimKind != drawing::TextAnimationKind_NONE ); + assert( meAnimKind != drawing::TextAnimationKind_NONE ); if( meAnimKind == drawing::TextAnimationKind_NONE ) return; @@ -780,7 +780,7 @@ ActivityImpl::ActivityImpl( uno::Reference<beans::XPropertySet> const xProps( xShape, uno::UNO_QUERY_THROW ); getPropertyValue( meAnimKind, xProps, "TextAnimationKind" ); - OSL_ASSERT( meAnimKind != drawing::TextAnimationKind_NONE ); + assert( meAnimKind != drawing::TextAnimationKind_NONE ); mbAlternate = (meAnimKind == drawing::TextAnimationKind_ALTERNATE); mbScrollIn = (meAnimKind == drawing::TextAnimationKind_SLIDE); |