diff options
Diffstat (limited to 'sdext/source/presenter/PresenterButton.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterButton.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterButton.cxx b/sdext/source/presenter/PresenterButton.cxx index aa2eab3dd0a7..4487e70bad0e 100644 --- a/sdext/source/presenter/PresenterButton.cxx +++ b/sdext/source/presenter/PresenterButton.cxx @@ -302,7 +302,7 @@ void SAL_CALL PresenterButton::mouseReleased (const css::awt::MouseEvent& rEvent if (meState == PresenterBitmapDescriptor::ButtonDown) { - assert(mpPresenterController.get()!=nullptr); + OSL_ASSERT(mpPresenterController.get()!=nullptr); mpPresenterController->DispatchUnoCommand(msAction); meState = PresenterBitmapDescriptor::Normal; @@ -420,7 +420,7 @@ Reference<rendering::XBitmap> PresenterButton::GetBitmap ( return mpIcon->GetBitmap(eMode); else { - assert(mpIcon.get()!=nullptr); + OSL_ASSERT(mpIcon.get()!=nullptr); return nullptr; } } |