diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-07-22 06:36:44 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-07-22 06:36:44 +0000 |
commit | f1f1827eb4d40674e09e7eb54b543affae8b0786 (patch) | |
tree | e600c5da2ca6a2dcdb7395afdd13cebae3ef6cde /accessibility/source/standard | |
parent | INTEGRATION: CWS pba11y01 (1.4.14); FILE MERGED (diff) | |
download | core-f1f1827eb4d40674e09e7eb54b543affae8b0786.tar.gz core-f1f1827eb4d40674e09e7eb54b543affae8b0786.zip |
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
Diffstat (limited to 'accessibility/source/standard')
-rw-r--r-- | accessibility/source/standard/vclxaccessibletoolboxitem.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx index fdc79fa14c88..dbfd14224751 100644 --- a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx +++ b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx @@ -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 ); } |