Kaydet (Commit) 105ebb9c authored tarafından Miklos Vajna's avatar Miklos Vajna

Use std::initializer_list ctor

Change-Id: Ib04460fe7bd33cb9b6c4fef4fc285e93c71e57c3
üst 6158c9a8
......@@ -4628,8 +4628,10 @@ RTFError RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
rDrawingObject.nPolyLineCount--;
if (rDrawingObject.nPolyLineCount == 0)
{
uno::Sequence< uno::Sequence<awt::Point> >aPointSequenceSequence(1);
aPointSequenceSequence[0] = comphelper::containerToSequence(rDrawingObject.aPolyLinePoints);
uno::Sequence< uno::Sequence<awt::Point> >aPointSequenceSequence =
{
comphelper::containerToSequence(rDrawingObject.aPolyLinePoints)
};
rDrawingObject.xPropertySet->setPropertyValue("PolyPolygon", uno::Any(aPointSequenceSequence));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment