diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-02-16 17:37:13 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-02-16 17:45:37 +0100 |
commit | c7c761455fbdece36c4fb7cfb9bdd4495e80ddba (patch) | |
tree | adef0791755c3bad9c06b880fcd18667085207d1 /filter | |
parent | DOCX import: floating tables belong to the same paragraph (diff) | |
download | core-c7c761455fbdece36c4fb7cfb9bdd4495e80ddba.tar.gz core-c7c761455fbdece36c4fb7cfb9bdd4495e80ddba.zip |
drawingML export: make WritePolyPolygon robuster
Make sure a:cubicBezTo conatins three a:pt elements.
escherex: It seems a cubic bezier curve last point has
a POLY_NORMAL flag and not POLY_CONTROL.
Change-Id: Id6dc2160c7ae171a720e4a1aa9161cef2b3b9413
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/escherex.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 25a853a74445..a6423fce2fdc 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -1969,7 +1969,7 @@ PolyPolygon EscherPropertyContainer::GetPolyPolygon( const ::com::sun::star::uno { aPolygon.SetFlags( nPointIndex, POLY_CONTROL); aPolygon.SetFlags( nPointIndex+1, POLY_CONTROL); - aPolygon.SetFlags( nPointIndex+2, POLY_CONTROL); + aPolygon.SetFlags( nPointIndex+2, POLY_NORMAL); nPointIndex += 3; break; } |