INTEGRATION: CWS pba11y01 (1.4.14); FILE MERGED

2008/06/24 05:22:04 pb 1.4.14.1: fix: #i34751# set state Showing only if item is really visible
This commit is contained in:
Oliver Bolte 2008-07-22 06:36:44 +00:00
parent b1d05c6094
commit f1f1827eb4

View file

@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: vclxaccessibletoolboxitem.cxx,v $
* $Revision: 1.4 $
* $Revision: 1.5 $
*
* This file is part of OpenOffice.org.
*
@ -420,10 +420,9 @@ Reference< XAccessibleStateSet > SAL_CALL VCLXAccessibleToolBoxItem::getAccessib
pStateSetHelper->AddState( AccessibleStateType::SENSITIVE );
}
if ( m_pToolBox->IsItemVisible( m_nItemId ) )
{
pStateSetHelper->AddState( AccessibleStateType::VISIBLE );
if ( m_pToolBox->IsItemReallyVisible( m_nItemId ) )
pStateSetHelper->AddState( AccessibleStateType::SHOWING );
}
if ( m_bHasFocus )
pStateSetHelper->AddState( AccessibleStateType::FOCUSED );
}