summaryrefslogtreecommitdiff
path: root/sfx2/source/control/thumbnailviewacc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/control/thumbnailviewacc.cxx')
-rw-r--r--sfx2/source/control/thumbnailviewacc.cxx5
1 files changed, 1 insertions, 4 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;
}