sc/source/ui/unoobj/cellsuno.cxx | 2 +- sc/source/ui/unoobj/docuno.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit a6496d03f69ae4a0140f78eff2d6f29a6fdb74da Author: Jens Carl <j.car...@gmx.de> AuthorDate: Mon Feb 24 21:52:10 2020 -0800 Commit: Jens Carl <j.car...@gmx.de> CommitDate: Fri Mar 27 07:09:28 2020 +0100 tdf#43157 Clean up OSL_ASSERT Change-Id: I23da49e2395a76eaa97c98757db16289e200a828 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89407 Tested-by: Jenkins Reviewed-by: Jens Carl <j.car...@gmx.de> diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index e1ffc7e9cf26..8a81f814a7e6 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -3228,7 +3228,7 @@ void ScCellRangesBase::ForceChartListener_Impl() for (auto const& it : rListeners) { ScChartListener *const p = it.second.get(); - OSL_ASSERT(p); + assert(p); if (p->GetUnoSource() == static_cast<chart::XChartData*>(this) && p->IsDirty()) p->Update(); } diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 75aa90ea9e6d..da8394343891 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -2861,7 +2861,7 @@ css::uno::Reference<css::uno::XInterface> ScModelObj::create( ( pDocShell->GetCreateMode() == SfxObjectCreateMode::INTERNAL )); // this should never happen, i.e. the temporary document should never be // loaded, because this unlinks the data - OSL_ASSERT( bCreate ); + assert(bCreate); if ( !xRet.is() && bCreate ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits