[Libreoffice-commits] core.git: sw/qa
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jan 27 18:47:20 UTC 2020
sw/qa/extras/ooxmlexport/ooxmlexport13.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 44a520fe7ffd8bca45babdf325ec307c30c1a006
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Mon Jan 27 16:20:49 2020 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Mon Jan 27 19:46:47 2020 +0100
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 at collabora.co.uk>
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);
}
More information about the Libreoffice-commits
mailing list