sw/qa/extras/ooxmlexport/ooxmlexport2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f1ff6f9c72cf0e105e6e151a9fa3b7d395553d4b Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Apr 13 17:36:27 2023 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Apr 13 22:38:11 2023 +0200 -Werror,-Wunused-variable It apparently also wants to be "disabled temporarily, next commit enables it again" (whenever that will actually happen) since a9ba8e57a41c5ddf3597272bddab30e51fb3fd38 "Revert 'tdf#118947 sw tablestyle: manually scan parents for ::SET'". (Found with an experimental Clang build supporting __attribute__((warn_unused)) on individual ctors rather than just whole class types, and the corresponding css::uno::Reference ctor marked accordingly.) Change-Id: Ie280fda9948c3b1730e13b53db5e288d0a651f60 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150364 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx index 1dd6123588ac..b3967abb88c5 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx @@ -620,9 +620,9 @@ DECLARE_OOXMLEXPORT_TEST(testTableStylerPrSz, "table-style-rPr-sz.docx") uno::Reference<text::XTextRange> xCell(xTable->getCellByName("A1"), uno::UNO_QUERY); uno::Reference<container::XEnumerationAccess> xParaEnumAccess(xCell->getText(), uno::UNO_QUERY); uno::Reference<container::XEnumeration> xParaEnum = xParaEnumAccess->createEnumeration(); - uno::Reference<text::XTextRange> xPara(xParaEnum->nextElement(), uno::UNO_QUERY); // disabled temporarily, next commit enables it again #if 0 + uno::Reference<text::XTextRange> xPara(xParaEnum->nextElement(), uno::UNO_QUERY); CPPUNIT_ASSERT_EQUAL(20.f, getProperty<float>(getRun(xPara, 1), "CharHeight")); #endif // CPPUNIT_ASSERT_EQUAL(awt::FontUnderline::SINGLE, getProperty<short>(getRun(xPara, 1), "CharUnderline"));