diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-11-14 11:45:43 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-11-14 13:42:09 +0100 |
commit | 95bc3adf3a725688369215468284b15c84322dff (patch) | |
tree | 0baad86261cb6fc9f9d2760074bf2f75e9aead15 | |
parent | 0f08d5cac57276d426b21a4be32648ab51bad723 (diff) |
tdf#163486: PVS: Expression is always true
Since
commit 9cddf9da7fb256418e1bc3b4719abb55e3b0604c
Author: Vladimir Glazounov <vg@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 <xiscofauli@libreoffice.org>
-rw-r--r-- | sw/source/core/unocore/unochart.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
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 ); |