summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-04-13 16:50:55 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-04-13 23:17:51 +0200
commit4e70952efbc97bef7bc108e738bee346bf5de605 (patch)
treeceae8f6590f50b074d8d3ac51fad140d18f7cdbb /sw/qa
parentba4762fa14aeca39929d7a6d33217f34f2218e58 (diff)
-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 <sbergman@redhat.com>
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport4.cxx1
1 files changed, 0 insertions, 1 deletions
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());
}