From f1f1827eb4d40674e09e7eb54b543affae8b0786 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Tue, 22 Jul 2008 06:36:44 +0000 Subject: 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 --- accessibility/source/standard/vclxaccessibletoolboxitem.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'accessibility') 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 ); } -- cgit