Kaydet (Commit) 8ab69537 authored tarafından Miklos Vajna's avatar Miklos Vajna

CppunitTest_sw_ooxmlexport: port testFdo58577 to textboxes

Change-Id: Ic309c7f2a3df46a4813646902a595408f4751fcd
üst 26f76e85
......@@ -865,8 +865,8 @@ DECLARE_OOXMLEXPORT_TEST(testFdo66773, "fdo66773.docx")
DECLARE_OOXMLEXPORT_TEST(testFdo58577, "fdo58577.odt")
{
// The second frame was simply missing, so let's check if both frames were imported back.
uno::Reference<text::XTextFramesSupplier> xTextFramesSupplier(mxComponent, uno::UNO_QUERY);
uno::Reference<container::XIndexAccess> xIndexAccess(xTextFramesSupplier->getTextFrames(), uno::UNO_QUERY);
uno::Reference<drawing::XDrawPageSupplier> xDrawPageSupplier(mxComponent, uno::UNO_QUERY);
uno::Reference<container::XIndexAccess> xIndexAccess(xDrawPageSupplier->getDrawPage(), uno::UNO_QUERY);
CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xIndexAccess->getCount());
}
......
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