diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 17:03:35 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 17:03:35 +1000 |
commit | 97eb00c75e173d4c8d0b483a7941ad3d2f23783e (patch) | |
tree | 7974a8b9423c56982646366b0859dfb2a1a88d50 /slideshow/source/engine/slideshowimpl.cxx | |
parent | d0a99cc2ed76be220f7e868e332ba19f6e48a440 (diff) |
revert OSL_ASSERT changes
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
Diffstat (limited to 'slideshow/source/engine/slideshowimpl.cxx')
-rw-r--r-- | slideshow/source/engine/slideshowimpl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx index 571725304e4b..8e8023e0146f 100644 --- a/slideshow/source/engine/slideshowimpl.cxx +++ b/slideshow/source/engine/slideshowimpl.cxx @@ -923,7 +923,7 @@ SlideSharedPtr SlideShowImpl::makeSlide( void SlideShowImpl::requestWaitSymbol() { ++mnWaitSymbolRequestCount; - assert(mnWaitSymbolRequestCount>0); + OSL_ASSERT(mnWaitSymbolRequestCount>0); if (mnWaitSymbolRequestCount == 1) { @@ -940,7 +940,7 @@ void SlideShowImpl::requestWaitSymbol() void SlideShowImpl::releaseWaitSymbol() { --mnWaitSymbolRequestCount; - assert(mnWaitSymbolRequestCount>=0); + OSL_ASSERT(mnWaitSymbolRequestCount>=0); if (mnWaitSymbolRequestCount == 0) { @@ -1099,7 +1099,7 @@ void SlideShowImpl::displaySlide( else mpCurrentSlide = makeSlide( xSlide, xDrawPages, xRootNode ); - assert( mpCurrentSlide ); + OSL_ASSERT( mpCurrentSlide ); if (mpCurrentSlide) { basegfx::B2DSize oldSlideSize; @@ -2279,7 +2279,7 @@ void SlideShowImpl::notifySlideEnded (const bool bReverse) // save time at current drawpage: uno::Reference<beans::XPropertySet> xPropSet( mpCurrentSlide->getXDrawPage(), uno::UNO_QUERY ); - assert( xPropSet.is() ); + OSL_ASSERT( xPropSet.is() ); if (xPropSet.is()) { xPropSet->setPropertyValue( |