summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-02-16 17:37:13 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-02-16 17:45:37 +0100
commitc7c761455fbdece36c4fb7cfb9bdd4495e80ddba (patch)
treeadef0791755c3bad9c06b880fcd18667085207d1 /filter
parent6357031a3269ea191965469a8fe6867e7335e292 (diff)
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.cxx2
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;
}