Fix Test::testTdf97663
Unfortuately the build and merge of commit4e2e57b530("tdf#97663 SVGIO: Fix line spacing for <tspan>") overlapped with the merge of commite3bd776e02("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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user