diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-04-13 15:53:48 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-04-13 21:04:06 +0200 |
commit | 6cd14af780efb5704538622b6d95c2a1ba3dc7dc (patch) | |
tree | 70bdcad9bfec13066553494e2086f480d2042ef4 /sd/qa | |
parent | 465e66be927fa186d1cc2ffaf25ebccdfd9862d9 (diff) |
-Werror,-Wunused-variable
Unused ever since it got introduced in ea331fa8b498c66ec687c6611c69ffc61e58bc79
"tdf#131553: Add unittest".
(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: I9841713baf718be5b19d25acb35f3b856a94e1cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150358
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sd/qa')
-rw-r--r-- | sd/qa/unit/import-tests-smartart.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sd/qa/unit/import-tests-smartart.cxx b/sd/qa/unit/import-tests-smartart.cxx index 049a64eb0193..0a519c117b52 100644 --- a/sd/qa/unit/import-tests-smartart.cxx +++ b/sd/qa/unit/import-tests-smartart.cxx @@ -1412,7 +1412,6 @@ CPPUNIT_TEST_FIXTURE(SdImportTestSmartArt, testOrgChart2) CPPUNIT_TEST_FIXTURE(SdImportTestSmartArt, testTdf131553) { createSdImpressDoc("pptx/tdf131553.pptx"); - uno::Reference<drawing::XShape> xGroup(getShapeFromPage(0, 0), uno::UNO_QUERY); const SdrPage* pPage = GetPage(1); const SdrObjGroup* pObjGroup = dynamic_cast<SdrObjGroup*>(pPage->GetObj(0)); |