1
0
Fork 0
libreoffice/external/libodfgen/ellipticalarc.patch
Daniel Baumann 8e63e14cf6
Adding upstream version 4:25.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 16:20:04 +02:00

13 lines
366 B
Diff

--- src/GraphicFunctions.cxx
+++ src/GraphicFunctions.cxx
@@ -59,6 +59,10 @@
double rx, double ry, double phi, bool largeArc, bool sweep, double x, double y,
double &xmin, double &ymin, double &xmax, double &ymax)
{
+ if (x0 == x && y0 == y) {
+ return;
+ }
+
phi *= M_PI/180;
if (rx < 0.0)
rx *= -1.0;