summaryrefslogtreecommitdiff
path: root/sfx2
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 /sfx2
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 'sfx2')
-rw-r--r--sfx2/source/devtools/ObjectInspectorTreeHandler.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx
index 253932bb2632..7228f48e13ca 100644
--- a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx
+++ b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx
@@ -640,7 +640,6 @@ public:
for (int i = 0; i < nLength; i++)
{
uno::Any aArrayValue = mxIdlArray->get(maAny, i);
- uno::Reference<uno::XInterface> xCurrent;
auto* pObjectInspectorNode
= createNodeObjectForAny(OUString::number(i), aArrayValue, "");