Resolves: fdo#73814 wrong name for drawing::PointSequenceSequence property
examining svx/source/unodraw/unoprov.cxx "Geometry" is a indeed a drawing::PolyPolygonBezierCoords for the BezierShapes and a drawing::PointSequenceSequence for the PolyShapes regression sincee44335abe0
because after223f6b631c
we started getting drawing::PointSequenceSequences in maPath which is the wrong type for the argument to property "PolyPolygonBezier" for those shapes. Which led me to incorrectly assume that the all PolyPolygonBezier properties were named "PolyPolygonBezier" which isn't the case. so reverting the non maPath hunks ofe44335abe0
Change-Id: I013a66778d11a472fc4567e53a9e17e73e2b91ce
This commit is contained in:
@@ -1470,8 +1470,6 @@ void SdXMLPathShapeContext::StartElement(const uno::Reference< xml::sax::XAttrib
|
||||
aPolyPolygon,
|
||||
aSourcePolyPolygon);
|
||||
aAny <<= aSourcePolyPolygon;
|
||||
|
||||
xPropSet->setPropertyValue(OUString("PolyPolygonBezier"), aAny);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1481,9 +1479,9 @@ void SdXMLPathShapeContext::StartElement(const uno::Reference< xml::sax::XAttrib
|
||||
aPolyPolygon,
|
||||
aSourcePolyPolygon);
|
||||
aAny <<= aSourcePolyPolygon;
|
||||
|
||||
xPropSet->setPropertyValue(OUString("Geometry"), aAny);
|
||||
}
|
||||
|
||||
xPropSet->setPropertyValue(OUString("Geometry"), aAny);
|
||||
}
|
||||
|
||||
// set pos, size, shear and rotate
|
||||
|
Reference in New Issue
Block a user