summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-03 15:34:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-03 17:31:21 +0100
commit5b7a61a852216f97cc7ff5952e13a6d922bc00b6 (patch)
treefabe8da9f90ccbcb52fc412fa5a7c6cce9ae4813 /sc
parent2359ad3305c20b0654bdb2ff41a4703c833f7734 (diff)
loplugin:unusedfields
Change-Id: Ia8e2a7ce75bfded98e85fa583d1404710069d335 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105249 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/inputwin.cxx2
-rw-r--r--sc/source/ui/inc/inputwin.hxx1
2 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 799a66ed9dba..2a1a5d20102c 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -2027,8 +2027,6 @@ void ScTextWnd::SetDrawingArea(weld::DrawingArea* pDrawingArea)
css::uno::Reference< css::accessibility::XAccessible > ScTextWnd::CreateAccessible()
{
pAcc = new ScAccessibleEditControlObject(this, ScAccessibleEditObject::EditLine);
- css::uno::Reference< css::accessibility::XAccessible > xAccessible = pAcc;
- xAcc = xAccessible;
return pAcc;
}
diff --git a/sc/source/ui/inc/inputwin.hxx b/sc/source/ui/inc/inputwin.hxx
index 16468109d435..fc1843c405ff 100644
--- a/sc/source/ui/inc/inputwin.hxx
+++ b/sc/source/ui/inc/inputwin.hxx
@@ -142,7 +142,6 @@ private:
typedef ::std::vector< ScAccessibleEditLineTextData* > AccTextDataVector;
- css::uno::WeakReference< css::accessibility::XAccessible > xAcc;
ScAccessibleEditObject* pAcc;
OUString aString;