cid#1606613 Overflowed constant

Change-Id: I5340d46ef1264236c63bfd058e44dd984be2793c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174567
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2024-10-07 09:31:16 +02:00
committed by Noel Grandin
parent 0d0f2e7b1f
commit 0e76e830c2
+1
View File
@@ -158,6 +158,7 @@ namespace emfplushelper
{
if (((i - last_normal )% 3) == 1)
{
assert(p != 0);
polygon.setNextControlPoint (p - 1, mapped);
SAL_INFO ("drawinglayer.emf", "EMF+\t\tPolygon append next: " << p - 1 << " mapped: " << mapped.getX () << "," << mapped.getY ());
continue;