sw: prefix members of SwAccessibleTable

Change-Id: I1b69dd4f5f98a3aade59ecf9b380c7afd9367450
This commit is contained in:
Miklos Vajna 2017-02-13 10:19:13 +01:00
parent 34c1d107d5
commit 2bb20f5bcf
2 changed files with 8 additions and 8 deletions

View File

@ -777,7 +777,7 @@ SwAccessibleTable::SwAccessibleTable(
const OUString sArg1( static_cast< const SwTabFrame * >( GetFrame() )->GetFormat()->GetName() );
const OUString sArg2( GetFormattedPageNumber() );
sDesc = GetResource( STR_ACCESS_TABLE_DESC, &sArg1, &sArg2 );
m_sDesc = GetResource( STR_ACCESS_TABLE_DESC, &sArg1, &sArg2 );
UpdateTableData();
}
@ -814,16 +814,16 @@ void SwAccessibleTable::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew
FireAccessibleEvent( aEvent );
}
const OUString sOldDesc( sDesc );
const OUString sOldDesc( m_sDesc );
const OUString sArg2( GetFormattedPageNumber() );
sDesc = GetResource( STR_ACCESS_TABLE_DESC, &sNewTabName, &sArg2 );
if( sDesc != sOldDesc )
m_sDesc = GetResource( STR_ACCESS_TABLE_DESC, &sNewTabName, &sArg2 );
if( m_sDesc != sOldDesc )
{
AccessibleEventObject aEvent;
aEvent.EventId = AccessibleEventId::DESCRIPTION_CHANGED;
aEvent.OldValue <<= sOldDesc;
aEvent.NewValue <<= sDesc;
aEvent.NewValue <<= m_sDesc;
FireAccessibleEvent( aEvent );
}
}
@ -913,7 +913,7 @@ OUString SAL_CALL SwAccessibleTable::getAccessibleDescription()
CHECK_FOR_DEFUNC( XAccessibleContext )
return sDesc;
return m_sDesc;
}
sal_Int32 SAL_CALL SwAccessibleTable::getAccessibleRowCount()

View File

@ -44,7 +44,7 @@ class SwAccessibleTable :
public SwClient
{
SwAccessibleTableData_Impl *mpTableData; // the table's data, prot by Sol-Mutex
OUString sDesc;
OUString m_sDesc;
const SwSelBoxes *GetSelBoxes() const;
void FireTableChangeEvent( const SwAccessibleTableData_Impl& rTableData );
@ -66,7 +66,7 @@ protected:
// #i77106#
inline void SetDesc( const OUString& sNewDesc )
{
sDesc = sNewDesc;
m_sDesc = sNewDesc;
}
virtual SwAccessibleTableData_Impl* CreateNewTableData(); // #i77106#