summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-03-29 09:14:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-03-29 10:10:17 +0100
commitf216d80d048fa4fedfdbdb0446b1521b0191b0cf (patch)
tree13c362488f6a1f4045f11ce73d4cf36052fd27e2 /sw
parent52d5299e0ee60a00ea93a9a79dbf2cfcfed7a98a (diff)
m_bIsAccDocUse is write-only
Change-Id: Ib0360ddaa21841b7e5921098d14029aec43cc371
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/access/acccontext.cxx8
-rw-r--r--sw/source/core/access/accframe.cxx3
-rw-r--r--sw/source/core/access/accframe.hxx3
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; };