summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-24 09:15:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-25 08:06:15 +0100
commit970ca8de0be4c4cd9485170f3c56a34b4069eec2 (patch)
tree1eb110e926d1539b729e06ab78e723f5ca19ae1c /accessibility
parent880af0672c6362b0dbdae137d92e8ebf85a7b335 (diff)
loplugin:unusedfields in various
Change-Id: I31d0e6c3559af2e322fb474b97f3bbf4d5064831 Reviewed-on: https://gerrit.libreoffice.org/68280 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/inc/standard/vclxaccessiblelistitem.hxx1
-rw-r--r--accessibility/source/standard/vclxaccessiblelistitem.cxx2
2 files changed, 0 insertions, 3 deletions
diff --git a/accessibility/inc/standard/vclxaccessiblelistitem.hxx b/accessibility/inc/standard/vclxaccessiblelistitem.hxx
index 02eb11641755..d6fdb6f762bc 100644
--- a/accessibility/inc/standard/vclxaccessiblelistitem.hxx
+++ b/accessibility/inc/standard/vclxaccessiblelistitem.hxx
@@ -66,7 +66,6 @@ private:
sal_uInt32 m_nClientId;
rtl::Reference< VCLXAccessibleList > m_xParent;
- css::uno::Reference< css::accessibility::XAccessibleContext > m_xParentContext;
virtual ~VCLXAccessibleListItem() override = default;
/** this function is called upon disposing the component
diff --git a/accessibility/source/standard/vclxaccessiblelistitem.cxx b/accessibility/source/standard/vclxaccessiblelistitem.cxx
index b406725f519c..e674cd26e466 100644
--- a/accessibility/source/standard/vclxaccessiblelistitem.cxx
+++ b/accessibility/source/standard/vclxaccessiblelistitem.cxx
@@ -72,7 +72,6 @@ VCLXAccessibleListItem::VCLXAccessibleListItem(sal_Int32 _nIndexInParent, const
, m_xParent(_xParent)
{
assert(m_xParent.is());
- m_xParentContext = m_xParent->getAccessibleContext();
::accessibility::IComboListBoxHelper* pListBoxHelper = m_xParent->getListBoxHelper();
if (pListBoxHelper)
m_sEntryText = pListBoxHelper->GetEntry(static_cast<sal_uInt16>(_nIndexInParent));
@@ -157,7 +156,6 @@ void SAL_CALL VCLXAccessibleListItem::disposing()
VCLXAccessibleListItem_BASE::disposing();
m_sEntryText.clear();
m_xParent = nullptr;
- m_xParentContext = nullptr;
nId = m_nClientId;
m_nClientId = 0;