summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-04-13 17:36:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-04-13 22:38:11 +0200
commitf1ff6f9c72cf0e105e6e151a9fa3b7d395553d4b (patch)
tree8188dd31c414b31e6a347a569183a900a09b6fea /sw
parentc4b561d64ef64a1cd578ea7a6e24bd78a3bce36e (diff)
-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 <sbergman@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport2.cxx2
1 files changed, 1 insertions, 1 deletions
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"));