diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-06 17:48:25 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-06 17:58:56 +0200 |
commit | 8ab695374e92bdca1301543cdb105a6f3a3c446b (patch) | |
tree | 250abda635b6e3f7b80f0fe850122d602ef9dbbe /sw | |
parent | 26f76e859761b5fa39196edff454644d7fb36a02 (diff) |
CppunitTest_sw_ooxmlexport: port testFdo58577 to textboxes
Change-Id: Ic309c7f2a3df46a4813646902a595408f4751fcd
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx index f094099e8830..27abde413e9b 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx @@ -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()); } |