summaryrefslogtreecommitdiffstats
path: root/comphelper/source/misc/accessiblecontexthelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/misc/accessiblecontexthelper.cxx')
-rw-r--r--comphelper/source/misc/accessiblecontexthelper.cxx30
1 files changed, 0 insertions, 30 deletions
diff --git a/comphelper/source/misc/accessiblecontexthelper.cxx b/comphelper/source/misc/accessiblecontexthelper.cxx
index fb89a0bf86a9..4d2a7d9ebf9f 100644
--- a/comphelper/source/misc/accessiblecontexthelper.cxx
+++ b/comphelper/source/misc/accessiblecontexthelper.cxx
@@ -29,7 +29,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_comphelper.hxx"
#include <comphelper/accessiblecontexthelper.hxx>
-#include <comphelper/accessibleeventbuffer.hxx>
#include <osl/diagnose.h>
#include <cppuhelper/weakref.hxx>
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
@@ -215,35 +214,6 @@ namespace comphelper
}
//---------------------------------------------------------------------
- void SAL_CALL OAccessibleContextHelper::BufferAccessibleEvent( const sal_Int16 _nEventId,
- const Any& _rOldValue, const Any& _rNewValue,
- AccessibleEventBuffer & _rBuffer )
- {
- // TODO: this whole method (as well as the class AccessibleEventBuffer) should be removed
- // The reasons why they have been introduces id that we needed to collect a set of events
- // before notifying them alltogether (after releasing our mutex). With the other
- // NotifyAccessibleEvent being asynchronous now, this should not be necessary anymore
- // - clients could use the other version now.
-
- // copy our current listeners
- Sequence< Reference< XInterface > > aListeners;
- if ( m_pImpl->getClientId( ) )
- aListeners = AccessibleEventNotifier::getEventListeners( m_pImpl->getClientId( ) );
-
- if ( aListeners.getLength() )
- {
- AccessibleEventObject aEvent;
- aEvent.Source = *this;
- OSL_ENSURE( aEvent.Source.is(), "OAccessibleContextHelper::BufferAccessibleEvent: invalid creator!" );
- aEvent.EventId = _nEventId;
- aEvent.OldValue = _rOldValue;
- aEvent.NewValue = _rNewValue;
-
- _rBuffer.addEvent( aEvent, aListeners );
- }
- }
-
- //---------------------------------------------------------------------
sal_Bool OAccessibleContextHelper::isAlive() const
{
return !GetBroadcastHelper().bDisposed && !GetBroadcastHelper().bInDispose;