diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-05-09 09:55:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-05-09 12:28:03 +0200 |
commit | 82d018b402219b5452bb08aac2c060031bbc3298 (patch) | |
tree | a371ee459cf4ccfa722ba6344055fccd86d6f420 /sfx2 | |
parent | 3a98352f7c03be67f7ceddd7fab48f8ef8a30849 (diff) |
loplugin:unusedfields
Change-Id: I8dc5a6ef84f43bad0bee26592b3a8e95c58e6f22
Reviewed-on: https://gerrit.libreoffice.org/72027
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/thumbnailviewacc.cxx | 5 | ||||
-rw-r--r-- | sfx2/source/control/thumbnailviewacc.hxx | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/sfx2/source/control/thumbnailviewacc.cxx b/sfx2/source/control/thumbnailviewacc.cxx index fcab3b5acfb0..8a802525c75d 100644 --- a/sfx2/source/control/thumbnailviewacc.cxx +++ b/sfx2/source/control/thumbnailviewacc.cxx @@ -552,8 +552,7 @@ void ThumbnailViewAcc::ThrowIfDisposed() SfxThumbnailViewAcc::SfxThumbnailViewAcc( SfxThumbnailView* pParent ) : ValueSetAccComponentBase (m_aMutex), - mpParent( pParent ), - mbIsFocused(false) + mpParent( pParent ) { } @@ -713,8 +712,6 @@ uno::Reference< accessibility::XAccessibleStateSet > SAL_CALL SfxThumbnailViewAc pStateSet->AddState (accessibility::AccessibleStateType::VISIBLE); pStateSet->AddState (accessibility::AccessibleStateType::MANAGES_DESCENDANTS); pStateSet->AddState (accessibility::AccessibleStateType::FOCUSABLE); - if (mbIsFocused) - pStateSet->AddState (accessibility::AccessibleStateType::FOCUSED); return pStateSet; } diff --git a/sfx2/source/control/thumbnailviewacc.hxx b/sfx2/source/control/thumbnailviewacc.hxx index d47f94c9bd4a..577c11941a47 100644 --- a/sfx2/source/control/thumbnailviewacc.hxx +++ b/sfx2/source/control/thumbnailviewacc.hxx @@ -220,8 +220,6 @@ private: ::std::vector< css::uno::Reference< css::accessibility::XAccessibleEventListener > > mxEventListeners; SfxThumbnailView* mpParent; - /// The current FOCUSED state. - bool mbIsFocused; static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId(); |