diff options
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/gstreamer/gstplayer.cxx | 2 | ||||
-rw-r--r-- | avmedia/source/quicktime/player.mm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx index 8383d3f3cae6..26b712441692 100644 --- a/avmedia/source/gstreamer/gstplayer.cxx +++ b/avmedia/source/gstreamer/gstplayer.cxx @@ -910,7 +910,7 @@ uno::Reference< ::media::XPlayerWindow > SAL_CALL Player::createPlayerWindow( co rArguments[ 2 ] >>= pIntPtr; SystemChildWindow *pParentWindow = reinterpret_cast< SystemChildWindow* >( pIntPtr ); const SystemEnvData* pEnvData = pParentWindow ? pParentWindow->GetSystemData() : nullptr; - assert(pEnvData); + OSL_ASSERT(pEnvData); if (pEnvData) { #if defined(ENABLE_GTKSINK) diff --git a/avmedia/source/quicktime/player.mm b/avmedia/source/quicktime/player.mm index b5fe12db1a39..d1c44306834f 100644 --- a/avmedia/source/quicktime/player.mm +++ b/avmedia/source/quicktime/player.mm @@ -56,7 +56,7 @@ Player::~Player() QTMovie* Player::getMovie() { - assert( mpMovie ); + OSL_ASSERT( mpMovie ); return mpMovie; } |