summaryrefslogtreecommitdiff
path: root/toolkit/source/awt
diff options
context:
space:
mode:
authorThomas Benisch <tbe@openoffice.org>2002-11-22 13:03:05 +0000
committerThomas Benisch <tbe@openoffice.org>2002-11-22 13:03:05 +0000
commitbc30fd8541a770867dfbf7b98503722f43077ad9 (patch)
tree6e03e3bd6a96da5dca1358c121673532111c020a /toolkit/source/awt
parent88e5002551889f26255a40b80c89301789b6d2a6 (diff)
#105058# make NotifyAccessibleEvent virtual
Diffstat (limited to 'toolkit/source/awt')
-rw-r--r--toolkit/source/awt/vclxaccessiblecomponent.cxx15
1 files changed, 9 insertions, 6 deletions
diff --git a/toolkit/source/awt/vclxaccessiblecomponent.cxx b/toolkit/source/awt/vclxaccessiblecomponent.cxx
index 89e21704e141..d4a808ea373d 100644
--- a/toolkit/source/awt/vclxaccessiblecomponent.cxx
+++ b/toolkit/source/awt/vclxaccessiblecomponent.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: vclxaccessiblecomponent.cxx,v $
*
- * $Revision: 1.37 $
+ * $Revision: 1.38 $
*
- * last change: $Author: tbe $ $Date: 2002-11-20 16:56:19 $
+ * last change: $Author: tbe $ $Date: 2002-11-22 14:03:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -216,9 +216,7 @@ IMPL_LINK( VCLXAccessibleComponent, WindowEventListener, VclSimpleEvent*, pEvent
DBG_ASSERT( ((VclWindowEvent*)pEvent)->GetWindow(), "Window???" );
if( !((VclWindowEvent*)pEvent)->GetWindow()->IsAccessibilityEventsSuppressed() || ( pEvent->GetId() == VCLEVENT_OBJECT_DYING ) )
{
- ULONG nCount = Application::ReleaseSolarMutex();
ProcessWindowEvent( *(VclWindowEvent*)pEvent );
- Application::AcquireSolarMutex( nCount );
}
}
return 0;
@@ -237,9 +235,7 @@ IMPL_LINK( VCLXAccessibleComponent, WindowChildEventListener, VclSimpleEvent*, p
// #103087# to prevent an early release of the component
uno::Reference< accessibility::XAccessibleContext > xTmp = this;
- ULONG nCount = Application::ReleaseSolarMutex();
ProcessWindowChildEvent( *(VclWindowEvent*)pEvent );
- Application::AcquireSolarMutex( nCount );
}
}
return 0;
@@ -424,6 +420,13 @@ void VCLXAccessibleComponent::ProcessWindowEvent( const VclWindowEvent& rVclWind
}
}
+void VCLXAccessibleComponent::NotifyAccessibleEvent( const sal_Int16 _nEventId, const uno::Any& _rOldValue, const uno::Any& _rNewValue )
+{
+ ULONG nCount = Application::ReleaseSolarMutex();
+ AccessibleExtendedComponentHelper_BASE::NotifyAccessibleEvent( _nEventId, _rOldValue, _rNewValue );
+ Application::AcquireSolarMutex( nCount );
+}
+
void VCLXAccessibleComponent::disposing()
{
if ( mpVCLXindow && mpVCLXindow->GetWindow() )