parent will definitely exist at ctor time
Change-Id: I3d30b17e4105a98ad6ab378cee7128cac23f1dc0
This commit is contained in:
parent
6c220995aa
commit
99a4ab06a9
1 changed files with 5 additions and 7 deletions
|
@ -69,13 +69,11 @@ VCLXAccessibleListItem::VCLXAccessibleListItem(sal_Int32 _nIndexInParent, const
|
|||
, m_nClientId(0)
|
||||
, m_xParent(_xParent)
|
||||
{
|
||||
if (m_xParent.is())
|
||||
{
|
||||
m_xParentContext = m_xParent->getAccessibleContext();
|
||||
::accessibility::IComboListBoxHelper* pListBoxHelper = m_xParent->getListBoxHelper();
|
||||
if (pListBoxHelper)
|
||||
m_sEntryText = pListBoxHelper->GetEntry((sal_uInt16)_nIndexInParent);
|
||||
}
|
||||
assert(m_xParent.is());
|
||||
m_xParentContext = m_xParent->getAccessibleContext();
|
||||
::accessibility::IComboListBoxHelper* pListBoxHelper = m_xParent->getListBoxHelper();
|
||||
if (pListBoxHelper)
|
||||
m_sEntryText = pListBoxHelper->GetEntry((sal_uInt16)_nIndexInParent);
|
||||
}
|
||||
|
||||
VCLXAccessibleListItem::~VCLXAccessibleListItem()
|
||||
|
|
Loading…
Reference in a new issue