Kaydet (Commit) e579d453 authored tarafından Caolán McNamara's avatar Caolán McNamara

Document::ProcessWindowEvent now just forwards to baseclass

Change-Id: Ia4c224105e15c8eea90a9c98161981ff10661044
üst efb23f29
......@@ -555,10 +555,6 @@ public:
css::uno::Reference< css::accessibility::XAccessibleRelationSet >
retrieveParagraphRelationSet( ParagraphImpl const * pParagraph );
protected:
// window event listener from base class
virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent );
private:
virtual ::sal_Int32 SAL_CALL getAccessibleChildCount()
throw (css::uno::RuntimeException);
......
......@@ -1503,25 +1503,6 @@ Document::retrieveParagraphRelationSet( ParagraphImpl const * pParagraph )
return xSet;
}
void Document::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
{
switch ( rVclWindowEvent.GetId() )
{
case VCLEVENT_WINDOW_GETFOCUS:
case VCLEVENT_WINDOW_LOSEFOCUS:
{
// #107179# if our parent is a compound control (e.g. MultiLineEdit),
// suppress the window focus events here
// IAccessible2 implementation 2009
//if ( !m_bCompoundControlChild )
VCLXAccessibleComponent::ProcessWindowEvent( rVclWindowEvent );
}
break;
default:
VCLXAccessibleComponent::ProcessWindowEvent( rVclWindowEvent );
}
}
// virtual
::sal_Int32 SAL_CALL Document::getAccessibleChildCount()
throw (css::uno::RuntimeException)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment