sw/source/core/unocore/unochart.cxx | 1 - 1 file changed, 1 deletion(-)
New commits: commit 95bc3adf3a725688369215468284b15c84322dff Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Thu Nov 14 11:45:43 2024 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Thu Nov 14 13:42:09 2024 +0100 tdf#163486: PVS: Expression is always true Since commit 9cddf9da7fb256418e1bc3b4719abb55e3b0604c Author: Vladimir Glazounov <v...@openoffice.org> Date: Tue May 22 15:33:44 2007 +0000 INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED V560 A part of conditional expression is always false: (!(pTableFormat && pUnoCursor)). V560 A part of conditional expression is always true: pTableFormat. V560 A part of conditional expression is always true: pUnoCursor. Change-Id: Id690161e2a64a82f94530142879bf291bd8df743 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176583 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index 5ea87aef1135..d5f7afc02a21 100644 --- a/sw/source/core/unocore/unochart.cxx +++ b/sw/source/core/unocore/unochart.cxx @@ -1303,7 +1303,6 @@ uno::Reference< chart2::data::XDataSequence > SwChartDataProvider::Impl_createDa if (aDesc.nTop != aDesc.nBottom && aDesc.nLeft != aDesc.nRight) throw lang::IllegalArgumentException(); - OSL_ENSURE( pTableFormat && pUnoCursor, "table format or cursor missing" ); uno::Reference< chart2::data::XDataSequence > xDataSeq; if (!bTestOnly) xDataSeq = new SwChartDataSequence( *this, *pTableFormat, pUnoCursor );