[Libreoffice-commits] core.git: sw/qa

Miklos Vajna vmiklos at collabora.co.uk
Fri Jun 6 08:59:20 PDT 2014


 sw/qa/extras/ooxmlexport/ooxmlexport.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8ab695374e92bdca1301543cdb105a6f3a3c446b
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Fri Jun 6 17:48:25 2014 +0200

    CppunitTest_sw_ooxmlexport: port testFdo58577 to textboxes
    
    Change-Id: Ic309c7f2a3df46a4813646902a595408f4751fcd

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index f094099..27abde4 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());
 }
 


More information about the Libreoffice-commits mailing list