From b8fc5aee3c1c2e7966ae12c32db8c481d95715a6 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sun, 7 May 2017 09:37:20 +1000 Subject: tdf#43157: convert most of canvas codebase away from OSL_ASSERT to assert Change-Id: Ie6a5942dcac62a0bc3b589ff0b82922b313f88a8 --- include/canvas/base/spritecanvasbase.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/canvas/base') diff --git a/include/canvas/base/spritecanvasbase.hxx b/include/canvas/base/spritecanvasbase.hxx index 044a279c061e..bd229af5288e 100644 --- a/include/canvas/base/spritecanvasbase.hxx +++ b/include/canvas/base/spritecanvasbase.hxx @@ -139,7 +139,7 @@ namespace canvas // SpriteSurface virtual void showSprite( const Sprite::Reference& rSprite ) override { - OSL_ASSERT( rSprite.is() ); + assert( rSprite.is() ); typename BaseType::MutexType aGuard( BaseType::m_aMutex ); @@ -148,7 +148,7 @@ namespace canvas virtual void hideSprite( const Sprite::Reference& rSprite ) override { - OSL_ASSERT( rSprite.is() ); + assert( rSprite.is() ); typename BaseType::MutexType aGuard( BaseType::m_aMutex ); @@ -160,7 +160,7 @@ namespace canvas const ::basegfx::B2DPoint& rNewPos, const ::basegfx::B2DVector& rSpriteSize ) override { - OSL_ASSERT( rSprite.is() ); + assert( rSprite.is() ); typename BaseType::MutexType aGuard( BaseType::m_aMutex ); @@ -171,7 +171,7 @@ namespace canvas const ::basegfx::B2DPoint& rPos, const ::basegfx::B2DRange& rUpdateArea ) override { - OSL_ASSERT( rSprite.is() ); + assert( rSprite.is() ); typename BaseType::MutexType aGuard( BaseType::m_aMutex ); -- cgit