sw/source/core/frmedt/fetab.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7d31ca57725e790d6a24e8df9adf0c5a0097186b Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Sep 1 11:10:57 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Sep 1 14:59:42 2022 +0200 cid#1513469 silence Dereference null return value Change-Id: Iaddf5aa526438757195d60dcb255d6928128cf9a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139153 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/core/frmedt/fetab.cxx b/sw/source/core/frmedt/fetab.cxx index f1b7145b1d4f..6268a9794b04 100644 --- a/sw/source/core/frmedt/fetab.cxx +++ b/sw/source/core/frmedt/fetab.cxx @@ -992,7 +992,7 @@ bool SwFEShell::HasBoxSelection() const if( !pCNd ) { pCNd = SwNodes::GoPrevious( &aIdx ); - OSL_ENSURE( pCNd, "no ContentNode in box ??" ); + assert(pCNd && "no ContentNode in box ??"); } if( pPam->GetMark()->GetContentIndex() == pCNd->Len() ) {