sw/qa/extras/ooxmlexport/ooxmlexport4.cxx | 1 - 1 file changed, 1 deletion(-)
New commits: commit 4e70952efbc97bef7bc108e738bee346bf5de605 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Apr 13 16:50:55 2023 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Apr 13 23:17:51 2023 +0200 -Werror,-Wunused-variable Apparently left behind by 36e62098c8c541c4a3fb63eced591cf29ac56e4a "CppUnittest: sw: simplify code. use getShapes and getShape". (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: Ib8bb03116c2323e76321259f423b19af678e09f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150362 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx index a89fc773ae34..04e438d64dfb 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx @@ -432,7 +432,6 @@ CPPUNIT_TEST_FIXTURE(Test, testChartInFooter) "id", "rId1"); - uno::Reference<drawing::XDrawPageSupplier> xDrawPageSupplier(mxComponent, uno::UNO_QUERY); CPPUNIT_ASSERT_EQUAL(1, getShapes()); }