summaryrefslogtreecommitdiff
path: root/sw/qa/extras
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-12-17 14:38:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-12-17 15:02:00 +0100
commita214369f14d3f53d45b1889827057882c0ffd62e (patch)
treea9b0cccb45d25324dfa9225d5594607c988922f4 /sw/qa/extras
parent6b2da3ae3ea7f47dff3c807c151f88a9e1ae9964 (diff)
loplugin:unusedvariablecheck improve
to find unused smart pointer variables Change-Id: I200bdd8949032a0e061de61f7903a156651793e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127006 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/qa/extras')
-rw-r--r--sw/qa/extras/globalfilter/globalfilter.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/qa/extras/globalfilter/globalfilter.cxx b/sw/qa/extras/globalfilter/globalfilter.cxx
index 04d24a825f27..96989a473d30 100644
--- a/sw/qa/extras/globalfilter/globalfilter.cxx
+++ b/sw/qa/extras/globalfilter/globalfilter.cxx
@@ -404,7 +404,6 @@ std::vector<uno::Reference<graphic::XGraphic>>
lcl_getGraphics(const uno::Reference<lang::XComponent>& xComponent)
{
std::vector<uno::Reference<graphic::XGraphic>> aGraphics;
- uno::Reference<drawing::XShape> xShape;
uno::Reference<drawing::XDrawPageSupplier> xDrawPageSupplier(xComponent, uno::UNO_QUERY);
uno::Reference<drawing::XDrawPage> xDrawPage = xDrawPageSupplier->getDrawPage();