diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 21:58:26 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 21:58:26 +0000 |
commit | 71c09ab98745ecb53f6c25f803cb715c3eb79dc6 (patch) | |
tree | 50f6f97167eb7d275da6a8d03ee1f5099b65b14d /toolkit | |
parent | f09e15218459f9aa6f52312a907e050ad5af0f53 (diff) |
INTEGRATION: CWS warnings01 (1.52.24); FILE MERGED
2006/05/23 22:41:41 sb 1.52.24.3: RESYNC: (1.53-1.55); FILE MERGED
2006/04/07 19:39:04 sb 1.52.24.2: RESYNC: (1.52-1.53); FILE MERGED
2005/11/11 16:47:30 pl 1.52.24.1: #i55991# removed warnings
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxaccessiblecomponent.cxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/toolkit/source/awt/vclxaccessiblecomponent.cxx b/toolkit/source/awt/vclxaccessiblecomponent.cxx index 9140992185de..75d07c955df3 100644 --- a/toolkit/source/awt/vclxaccessiblecomponent.cxx +++ b/toolkit/source/awt/vclxaccessiblecomponent.cxx @@ -4,9 +4,9 @@ * * $RCSfile: vclxaccessiblecomponent.cxx,v $ * - * $Revision: 1.55 $ + * $Revision: 1.56 $ * - * last change: $Author: hr $ $Date: 2006-05-11 13:31:16 $ + * last change: $Author: hr $ $Date: 2006-06-19 22:58:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -96,7 +96,7 @@ using namespace ::com::sun::star; using namespace ::comphelper; -DBG_NAME(VCLXAccessibleComponent); +DBG_NAME(VCLXAccessibleComponent) // ---------------------------------------------------- @@ -258,15 +258,15 @@ void VCLXAccessibleComponent::ProcessWindowEvent( const VclWindowEvent& rVclWind { uno::Any aOldValue, aNewValue; - Window* pWindow = rVclWindowEvent.GetWindow(); - DBG_ASSERT( pWindow, "VCLXAccessibleComponent::ProcessWindowEvent - Window?" ); + Window* pAccWindow = rVclWindowEvent.GetWindow(); + DBG_ASSERT( pAccWindow, "VCLXAccessibleComponent::ProcessWindowEvent - Window?" ); switch ( rVclWindowEvent.GetId() ) { case VCLEVENT_OBJECT_DYING: { - pWindow->RemoveEventListener( LINK( this, VCLXAccessibleComponent, WindowEventListener ) ); - pWindow->RemoveChildEventListener( LINK( this, VCLXAccessibleComponent, WindowChildEventListener ) ); + pAccWindow->RemoveEventListener( LINK( this, VCLXAccessibleComponent, WindowEventListener ) ); + pAccWindow->RemoveChildEventListener( LINK( this, VCLXAccessibleComponent, WindowChildEventListener ) ); mxWindow.clear(); mpVCLXindow = NULL; } @@ -333,7 +333,7 @@ void VCLXAccessibleComponent::ProcessWindowEvent( const VclWindowEvent& rVclWind { // avoid notification if a child frame is already active // only one frame may be active at a given time - if ( !pWindow->HasActiveChildFrame() && + if ( !pAccWindow->HasActiveChildFrame() && ( getAccessibleRole() == accessibility::AccessibleRole::FRAME || getAccessibleRole() == accessibility::AccessibleRole::ALERT || getAccessibleRole() == accessibility::AccessibleRole::DIALOG ) ) // #i18891# @@ -357,14 +357,14 @@ void VCLXAccessibleComponent::ProcessWindowEvent( const VclWindowEvent& rVclWind case VCLEVENT_WINDOW_GETFOCUS: case VCLEVENT_CONTROL_GETFOCUS: { - if( (pWindow->IsCompoundControl() && rVclWindowEvent.GetId() == VCLEVENT_CONTROL_GETFOCUS) || - (!pWindow->IsCompoundControl() && rVclWindowEvent.GetId() == VCLEVENT_WINDOW_GETFOCUS) ) + if( (pAccWindow->IsCompoundControl() && rVclWindowEvent.GetId() == VCLEVENT_CONTROL_GETFOCUS) || + (!pAccWindow->IsCompoundControl() && rVclWindowEvent.GetId() == VCLEVENT_WINDOW_GETFOCUS) ) { // if multiple listeners were registered it is possible that the // focus was changed during event processing (eg SfxTopWindow ) // #106082# allow ChildPathFocus only for CompoundControls, for windows the focus must be in the window itself - if( (pWindow->IsCompoundControl() && pWindow->HasChildPathFocus()) || - (!pWindow->IsCompoundControl() && pWindow->HasFocus()) ) + if( (pAccWindow->IsCompoundControl() && pAccWindow->HasChildPathFocus()) || + (!pAccWindow->IsCompoundControl() && pAccWindow->HasFocus()) ) { aNewValue <<= accessibility::AccessibleStateType::FOCUSED; NotifyAccessibleEvent( accessibility::AccessibleEventId::STATE_CHANGED, aOldValue, aNewValue ); @@ -375,8 +375,8 @@ void VCLXAccessibleComponent::ProcessWindowEvent( const VclWindowEvent& rVclWind case VCLEVENT_WINDOW_LOSEFOCUS: case VCLEVENT_CONTROL_LOSEFOCUS: { - if( (pWindow->IsCompoundControl() && rVclWindowEvent.GetId() == VCLEVENT_CONTROL_LOSEFOCUS) || - (!pWindow->IsCompoundControl() && rVclWindowEvent.GetId() == VCLEVENT_WINDOW_LOSEFOCUS) ) + if( (pAccWindow->IsCompoundControl() && rVclWindowEvent.GetId() == VCLEVENT_CONTROL_LOSEFOCUS) || + (!pAccWindow->IsCompoundControl() && rVclWindowEvent.GetId() == VCLEVENT_WINDOW_LOSEFOCUS) ) { aOldValue <<= accessibility::AccessibleStateType::FOCUSED; NotifyAccessibleEvent( accessibility::AccessibleEventId::STATE_CHANGED, aOldValue, aNewValue ); |