tdf#153972 Fix color filter when cells have no content
[LibreOffice.git] / external / libodfgen / ellipticalarc.patch
blob27aaee77cb8a714a8f9513992b71701e73e3cb16
1 --- src/GraphicFunctions.cxx
2 +++ src/GraphicFunctions.cxx
3 @@ -59,6 +59,10 @@
4 double rx, double ry, double phi, bool largeArc, bool sweep, double x, double y,
5 double &xmin, double &ymin, double &xmax, double &ymax)
7 + if (x0 == x && y0 == y) {
8 + return;
9 + }
11 phi *= M_PI/180;
12 if (rx < 0.0)
13 rx *= -1.0;