summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-27 16:20:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-27 19:46:47 +0100
commit44a520fe7ffd8bca45babdf325ec307c30c1a006 (patch)
tree495a9b7cd7373e1bfa6cbc5f7d5388b0a40f5ff8
parent09680b09b2f49e7a37d8b941822f053b5179bf6d (diff)
fix bug in testTdf128304
Assuming the test actually meant to use these vars Comes from commit b203b9c83d0000c8465dcd92fb6b029a2f28c724 Date: Fri Dec 13 07:23:35 2019 +0800 tdf#128304 export TB_RL writing mode as eaVirt Change-Id: I0649f189019ea764e7ed554dac43932b717eed2c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87535 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport13.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx
index c9b1f4f3e991..23449e274557 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx
@@ -976,15 +976,15 @@ DECLARE_OOXMLEXPORT_TEST(testTdf128304, "tdf128304.odt")
CPPUNIT_ASSERT_EQUAL(css::text::WritingMode::WritingMode_TB_RL, eMode);
uno::Reference<beans::XPropertySet> xProps2(getShape(2), uno::UNO_QUERY);
- CPPUNIT_ASSERT(xProps1->getPropertyValue("TextWritingMode") >>= eMode);
+ CPPUNIT_ASSERT(xProps2->getPropertyValue("TextWritingMode") >>= eMode);
CPPUNIT_ASSERT_EQUAL(css::text::WritingMode::WritingMode_TB_RL, eMode);
uno::Reference<beans::XPropertySet> xProps3(getShape(3), uno::UNO_QUERY);
- CPPUNIT_ASSERT(xProps1->getPropertyValue("TextWritingMode") >>= eMode);
+ CPPUNIT_ASSERT(xProps3->getPropertyValue("TextWritingMode") >>= eMode);
CPPUNIT_ASSERT_EQUAL(css::text::WritingMode::WritingMode_TB_RL, eMode);
uno::Reference<beans::XPropertySet> xProps4(getShape(4), uno::UNO_QUERY);
- CPPUNIT_ASSERT(xProps1->getPropertyValue("TextWritingMode") >>= eMode);
+ CPPUNIT_ASSERT(xProps4->getPropertyValue("TextWritingMode") >>= eMode);
CPPUNIT_ASSERT_EQUAL(css::text::WritingMode::WritingMode_TB_RL, eMode);
}