Fix Test::testTdf97663

Unfortuately the build and merge of

commit 4e2e57b530
("tdf#97663 SVGIO: Fix line spacing for <tspan>")

overlapped with the merge of

commit e3bd776e02
("Split BasePrimitive2D UNO interface into separate object")

Change-Id: Iaa7c4ffda7d863a2571c7f8320889b668f82a844
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127394
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
This commit is contained in:
Jan-Marek Glogowski
2021-12-24 04:57:06 +01:00
parent a4c21026b5
commit 5fe0881334
+1 -3
View File
@@ -816,9 +816,7 @@ void Test::testTdf97663()
CPPUNIT_ASSERT_EQUAL(1, static_cast<int>(aSequence.getLength()));
drawinglayer::Primitive2dXmlDump dumper;
// This can be dumped to a file using dumper.dump(container, file_url)
Primitive2DContainer container = comphelper::sequenceToContainer<Primitive2DContainer>(aSequence);
xmlDocUniquePtr pDocument = dumper.dumpAndParse(container);
xmlDocUniquePtr pDocument = dumper.dumpAndParse(Primitive2DContainer(aSequence));
CPPUNIT_ASSERT (pDocument);