diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-01-23 09:12:12 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-01-23 10:13:55 +0100 |
commit | 311a4eb36e96ca4b0f206e17686260f27c2f1902 (patch) | |
tree | e549ba1dfc9642418f5a9dc0e14052a5de6b22ce /sw | |
parent | 271931bcf414f8d4698e4a871f4e71c9a68a2196 (diff) |
sw: prefix members of SwAccessibleCell
Change-Id: I444cd7fc523170bb7e1ee8a8041ca5a5df302226
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/access/acccell.cxx | 26 | ||||
-rw-r--r-- | sw/source/core/access/acccell.hxx | 4 |
2 files changed, 15 insertions, 15 deletions
diff --git a/sw/source/core/access/acccell.cxx b/sw/source/core/access/acccell.cxx index 694a56069486..5a732e4af8cb 100644 --- a/sw/source/core/access/acccell.cxx +++ b/sw/source/core/access/acccell.cxx @@ -92,7 +92,7 @@ void SwAccessibleCell::GetStates( ::utl::AccessibleStateSetHelper& rStateSet ) if( IsSelected() ) { rStateSet.AddState( AccessibleStateType::SELECTED ); - assert(bIsSelected && "bSelected out of sync"); + assert(m_bIsSelected && "bSelected out of sync"); ::rtl::Reference < SwAccessibleContext > xThis( this ); GetMap()->SetCursorContext( xThis ); } @@ -101,14 +101,14 @@ void SwAccessibleCell::GetStates( ::utl::AccessibleStateSetHelper& rStateSet ) SwAccessibleCell::SwAccessibleCell( SwAccessibleMap *pInitMap, const SwCellFrame *pCellFrame ) : SwAccessibleContext( pInitMap, AccessibleRole::TABLE_CELL, pCellFrame ) - , aSelectionHelper( *this ) - , bIsSelected( false ) + , m_aSelectionHelper( *this ) + , m_bIsSelected( false ) { SolarMutexGuard aGuard; OUString sBoxName( pCellFrame->GetTabBox()->GetName() ); SetName( sBoxName ); - bIsSelected = IsSelected(); + m_bIsSelected = IsSelected(); css::uno::Reference<css::accessibility::XAccessible> xTableReference( getAccessibleParent()); @@ -127,8 +127,8 @@ bool SwAccessibleCell::InvalidateMyCursorPos() bool bOld; { osl::MutexGuard aGuard( m_Mutex ); - bOld = bIsSelected; - bIsSelected = bNew; + bOld = m_bIsSelected; + m_bIsSelected = bNew; } if( bNew ) { @@ -227,7 +227,7 @@ void SwAccessibleCell::InvalidateCursorPos_() bool SwAccessibleCell::HasCursor() { osl::MutexGuard aGuard( m_Mutex ); - return bIsSelected; + return m_bIsSelected; } SwAccessibleCell::~SwAccessibleCell() @@ -453,14 +453,14 @@ void SwAccessibleCell::selectAccessibleChild( sal_Int32 nChildIndex ) throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception ) { - aSelectionHelper.selectAccessibleChild(nChildIndex); + m_aSelectionHelper.selectAccessibleChild(nChildIndex); } sal_Bool SwAccessibleCell::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception ) { - return aSelectionHelper.isAccessibleChildSelected(nChildIndex); + return m_aSelectionHelper.isAccessibleChildSelected(nChildIndex); } void SwAccessibleCell::clearAccessibleSelection( ) @@ -471,27 +471,27 @@ void SwAccessibleCell::clearAccessibleSelection( ) void SwAccessibleCell::selectAllAccessibleChildren( ) throw ( uno::RuntimeException, std::exception ) { - aSelectionHelper.selectAllAccessibleChildren(); + m_aSelectionHelper.selectAllAccessibleChildren(); } sal_Int32 SwAccessibleCell::getSelectedAccessibleChildCount( ) throw ( uno::RuntimeException, std::exception ) { - return aSelectionHelper.getSelectedAccessibleChildCount(); + return m_aSelectionHelper.getSelectedAccessibleChildCount(); } uno::Reference<XAccessible> SwAccessibleCell::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception) { - return aSelectionHelper.getSelectedAccessibleChild(nSelectedChildIndex); + return m_aSelectionHelper.getSelectedAccessibleChild(nSelectedChildIndex); } void SwAccessibleCell::deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception ) { - aSelectionHelper.deselectAccessibleChild(nSelectedChildIndex); + m_aSelectionHelper.deselectAccessibleChild(nSelectedChildIndex); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/access/acccell.hxx b/sw/source/core/access/acccell.hxx index 45551dc8e028..bb4cdb2f5b6e 100644 --- a/sw/source/core/access/acccell.hxx +++ b/sw/source/core/access/acccell.hxx @@ -34,8 +34,8 @@ class SwAccessibleCell : public SwAccessibleContext, public css::accessibility::XAccessibleExtendedAttributes { // Implementation for XAccessibleSelection interface - SwAccessibleSelectionHelper aSelectionHelper; - bool bIsSelected; // protected by base class mutex + SwAccessibleSelectionHelper m_aSelectionHelper; + bool m_bIsSelected; // protected by base class mutex bool IsSelected(); |