chart2/source/view/main/ShapeFactory.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 568fcd66c53ec9fc5fa2ef8060a10085d48c36c8 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Fri Nov 22 12:02:24 2024 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Fri Nov 22 13:45:45 2024 +0100 PVS: V560 A part of conditional expression is always true: !rPolyPolygon.empty(). Change-Id: I61b79d0995cc08b70c2a39bdeb043a22722313e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177000 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/chart2/source/view/main/ShapeFactory.cxx b/chart2/source/view/main/ShapeFactory.cxx index 81d41e83bbc7..b821c1f5206a 100644 --- a/chart2/source/view/main/ShapeFactory.cxx +++ b/chart2/source/view/main/ShapeFactory.cxx @@ -1098,7 +1098,7 @@ rtl::Reference<Svx3DExtrudeObject> //so we need to translate the object via transformation matrix //Matrix for position - if (!rPolyPolygon.empty() && !rPolyPolygon[0].empty()) + if (!rPolyPolygon[0].empty()) { basegfx::B3DHomMatrix aM; aM.translate(0, 0, rPolyPolygon[0][0].PositionZ);