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 <xiscofauli@libreoffice.org>
This commit is contained in:
Xisco Fauli 2024-11-22 12:02:24 +01:00
parent 9ab81e7c44
commit 568fcd66c5

View file

@ -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);