diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-29 09:14:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-29 10:10:17 +0100 |
commit | f216d80d048fa4fedfdbdb0446b1521b0191b0cf (patch) | |
tree | 13c362488f6a1f4045f11ce73d4cf36052fd27e2 /sw | |
parent | 52d5299e0ee60a00ea93a9a79dbf2cfcfed7a98a (diff) |
m_bIsAccDocUse is write-only
Change-Id: Ib0360ddaa21841b7e5921098d14029aec43cc371
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/access/acccontext.cxx | 8 | ||||
-rw-r--r-- | sw/source/core/access/accframe.cxx | 3 | ||||
-rw-r--r-- | sw/source/core/access/accframe.hxx | 3 |
3 files changed, 1 insertions, 13 deletions
diff --git a/sw/source/core/access/acccontext.cxx b/sw/source/core/access/acccontext.cxx index ee45f7317510..53d5d538a782 100644 --- a/sw/source/core/access/acccontext.cxx +++ b/sw/source/core/access/acccontext.cxx @@ -583,10 +583,6 @@ sal_Int32 SAL_CALL SwAccessibleContext::getAccessibleChildCount() ThrowIfDisposed(); - //Notify the frame is a document - if (m_nRole == AccessibleRole::DOCUMENT_TEXT) - m_bIsAccDocUse = true; - return m_isDisposing ? 0 : GetChildCount( *(GetMap()) ); } @@ -597,10 +593,6 @@ uno::Reference< XAccessible> SAL_CALL ThrowIfDisposed(); - //Notify the frame is a document - if (m_nRole == AccessibleRole::DOCUMENT_TEXT) - m_bIsAccDocUse = true; - const SwAccessibleChild aChild( GetChild( *(GetMap()), nIndex ) ); if( !aChild.IsValid() ) { diff --git a/sw/source/core/access/accframe.cxx b/sw/source/core/access/accframe.cxx index 6133af4e1573..18f27ec241bd 100644 --- a/sw/source/core/access/accframe.cxx +++ b/sw/source/core/access/accframe.cxx @@ -415,8 +415,7 @@ SwAccessibleFrame::SwAccessibleFrame( const SwRect& rVisArea, bool bIsPagePreview ) : maVisArea( rVisArea ), mpFrame( pF ), - mbIsInPagePreview( bIsPagePreview ), - m_bIsAccDocUse( false ) + mbIsInPagePreview( bIsPagePreview ) { } diff --git a/sw/source/core/access/accframe.hxx b/sw/source/core/access/accframe.hxx index d7d064e626d0..1f1edc201b33 100644 --- a/sw/source/core/access/accframe.hxx +++ b/sw/source/core/access/accframe.hxx @@ -101,9 +101,6 @@ protected: const SwFrame *pFrame, bool bIsPagePreview ); virtual ~SwAccessibleFrame(); - - // Move to private area? - bool m_bIsAccDocUse; public: // Return the SwFrame this context is attached to. const SwFrame* GetFrame() const { return mpFrame; }; |