diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-10 19:00:51 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-10 19:07:24 +0200 |
commit | 75ebb553bf6523e9548e4826bbbb2f12d2cbd3dc (patch) | |
tree | 94d6930028a216df0afb4ea37fda802d308dd123 /sw/qa/extras/ooxmlexport | |
parent | ab4279d7f2e613f69d21eef1e3ba6bf09b708b00 (diff) |
CppunitTest_sw_ooxmlexport: port testTextBoxGradientAngle to textboxes
Change-Id: Id17c7d4cf9c9bcb81d0da486c9bce44abb04b6cd
Diffstat (limited to 'sw/qa/extras/ooxmlexport')
-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 8bf3a58b0e8f..4b5de65f3c5d 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx @@ -1791,8 +1791,8 @@ DECLARE_OOXMLEXPORT_TEST(testHyperlineIsEnd, "hyperlink.docx") DECLARE_OOXMLEXPORT_TEST(testTextBoxGradientAngle, "fdo65295.docx") { - 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(8), xIndexAccess->getCount()); // Angle of frame#1 is 135 degrees, but 'aGradient.Angle' holds value in 1/10 of a degree |