diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-04-25 19:26:59 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-04-25 22:45:52 +0200 |
commit | 77de4200b5d344e12c7239c32af2a2af887a176b (patch) | |
tree | 5f1dad1f6fa6af64921a57ca662fd322a4ecd488 /sw | |
parent | 1d2244ecac353c227c6001d9a2e326d42b1116b0 (diff) |
sw: remove more SwAccessibleContext code that...
... looks related to some non-existent "async loading" feature.
Change-Id: I99eaad92ce7f98e65c491e9862bed505ce1aa9fc
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/access/acccontext.cxx | 16 | ||||
-rw-r--r-- | sw/source/core/access/acccontext.hxx | 2 |
2 files changed, 0 insertions, 18 deletions
diff --git a/sw/source/core/access/acccontext.cxx b/sw/source/core/access/acccontext.cxx index 4e3b92f4086e..30b19f62f059 100644 --- a/sw/source/core/access/acccontext.cxx +++ b/sw/source/core/access/acccontext.cxx @@ -521,7 +521,6 @@ SwAccessibleContext::SwAccessibleContext( SwAccessibleMap *const pMap, , m_nRole(nRole) , m_isDisposing( false ) , m_isRegisteredAtAccessibleMap( true ) - , m_isBeginDocumentLoad( true ) , m_isSelectedInDoc(false) { InitStates(); @@ -581,21 +580,6 @@ uno::Reference< XAccessible> SAL_CALL { ::rtl::Reference < SwAccessibleContext > xChildImpl( GetMap()->GetContextImpl( aChild.GetSwFrm(), !m_isDisposing ) ); - //Send out accessible event when begin load. - if (m_isBeginDocumentLoad && m_nRole == AccessibleRole::DOCUMENT_TEXT) - { - - FireStateChangedEvent( AccessibleStateType::FOCUSABLE,true ); - FireStateChangedEvent( AccessibleStateType::BUSY,true ); - FireStateChangedEvent( AccessibleStateType::FOCUSED,true ); - // OFFSCREEN == !SHOWING, should stay consistent - // FireStateChangedEvent( AccessibleStateType::OFFSCREEN,true ); - FireStateChangedEvent( AccessibleStateType::SHOWING,true ); - FireStateChangedEvent( AccessibleStateType::BUSY,false ); - // OFFSCREEN again? - // FireStateChangedEvent( AccessibleStateType::OFFSCREEN,false ); - m_isBeginDocumentLoad = false; - } if( xChildImpl.is() ) { xChildImpl->SetParent( this ); diff --git a/sw/source/core/access/acccontext.hxx b/sw/source/core/access/acccontext.hxx index 873e9b2c18ab..4e620d6fa5ec 100644 --- a/sw/source/core/access/acccontext.hxx +++ b/sw/source/core/access/acccontext.hxx @@ -89,8 +89,6 @@ private: bool m_isRegisteredAtAccessibleMap; void InitStates(); - //Add a member to identify the first time that document load - bool m_isBeginDocumentLoad; protected: void SetName( const OUString& rName ) { m_sName = rName; } |