repo.or.cz
/
LibreOffice.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git]
/
external
/
libodfgen
/
ellipticalarc.patch
blob
27aaee77cb8a714a8f9513992b71701e73e3cb16
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)
6
{
7
+ if (x0 == x && y0 == y) {
8
+ return;
9
+ }
10
+
11
phi *= M_PI/180;
12
if (rx < 0.0)
13
rx *= -1.0;