sw: prefix members of SwAccessibleTable
Change-Id: I1b69dd4f5f98a3aade59ecf9b380c7afd9367450
This commit is contained in:
@@ -777,7 +777,7 @@ SwAccessibleTable::SwAccessibleTable(
|
|||||||
const OUString sArg1( static_cast< const SwTabFrame * >( GetFrame() )->GetFormat()->GetName() );
|
const OUString sArg1( static_cast< const SwTabFrame * >( GetFrame() )->GetFormat()->GetName() );
|
||||||
const OUString sArg2( GetFormattedPageNumber() );
|
const OUString sArg2( GetFormattedPageNumber() );
|
||||||
|
|
||||||
sDesc = GetResource( STR_ACCESS_TABLE_DESC, &sArg1, &sArg2 );
|
m_sDesc = GetResource( STR_ACCESS_TABLE_DESC, &sArg1, &sArg2 );
|
||||||
UpdateTableData();
|
UpdateTableData();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -814,16 +814,16 @@ void SwAccessibleTable::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew
|
|||||||
FireAccessibleEvent( aEvent );
|
FireAccessibleEvent( aEvent );
|
||||||
}
|
}
|
||||||
|
|
||||||
const OUString sOldDesc( sDesc );
|
const OUString sOldDesc( m_sDesc );
|
||||||
const OUString sArg2( GetFormattedPageNumber() );
|
const OUString sArg2( GetFormattedPageNumber() );
|
||||||
|
|
||||||
sDesc = GetResource( STR_ACCESS_TABLE_DESC, &sNewTabName, &sArg2 );
|
m_sDesc = GetResource( STR_ACCESS_TABLE_DESC, &sNewTabName, &sArg2 );
|
||||||
if( sDesc != sOldDesc )
|
if( m_sDesc != sOldDesc )
|
||||||
{
|
{
|
||||||
AccessibleEventObject aEvent;
|
AccessibleEventObject aEvent;
|
||||||
aEvent.EventId = AccessibleEventId::DESCRIPTION_CHANGED;
|
aEvent.EventId = AccessibleEventId::DESCRIPTION_CHANGED;
|
||||||
aEvent.OldValue <<= sOldDesc;
|
aEvent.OldValue <<= sOldDesc;
|
||||||
aEvent.NewValue <<= sDesc;
|
aEvent.NewValue <<= m_sDesc;
|
||||||
FireAccessibleEvent( aEvent );
|
FireAccessibleEvent( aEvent );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -913,7 +913,7 @@ OUString SAL_CALL SwAccessibleTable::getAccessibleDescription()
|
|||||||
|
|
||||||
CHECK_FOR_DEFUNC( XAccessibleContext )
|
CHECK_FOR_DEFUNC( XAccessibleContext )
|
||||||
|
|
||||||
return sDesc;
|
return m_sDesc;
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_Int32 SAL_CALL SwAccessibleTable::getAccessibleRowCount()
|
sal_Int32 SAL_CALL SwAccessibleTable::getAccessibleRowCount()
|
||||||
|
@@ -44,7 +44,7 @@ class SwAccessibleTable :
|
|||||||
public SwClient
|
public SwClient
|
||||||
{
|
{
|
||||||
SwAccessibleTableData_Impl *mpTableData; // the table's data, prot by Sol-Mutex
|
SwAccessibleTableData_Impl *mpTableData; // the table's data, prot by Sol-Mutex
|
||||||
OUString sDesc;
|
OUString m_sDesc;
|
||||||
const SwSelBoxes *GetSelBoxes() const;
|
const SwSelBoxes *GetSelBoxes() const;
|
||||||
|
|
||||||
void FireTableChangeEvent( const SwAccessibleTableData_Impl& rTableData );
|
void FireTableChangeEvent( const SwAccessibleTableData_Impl& rTableData );
|
||||||
@@ -66,7 +66,7 @@ protected:
|
|||||||
// #i77106#
|
// #i77106#
|
||||||
inline void SetDesc( const OUString& sNewDesc )
|
inline void SetDesc( const OUString& sNewDesc )
|
||||||
{
|
{
|
||||||
sDesc = sNewDesc;
|
m_sDesc = sNewDesc;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual SwAccessibleTableData_Impl* CreateNewTableData(); // #i77106#
|
virtual SwAccessibleTableData_Impl* CreateNewTableData(); // #i77106#
|
||||||
|
Reference in New Issue
Block a user