Related: #i124856# guard against crash

Patch By: hanya
Review By: jsc

(cherry picked from commit efe87c0d84e5f76034378d48d0d1fc2025a37645)

Conflicts:
	accessibility/source/standard/vclxaccessiblebox.cxx

Change-Id: I24fd4278406dacea33230cc1bf1528e3c5aaedf2
This commit is contained in:
Jürgen Schmidt 2014-07-02 08:19:37 +00:00 committed by Caolán McNamara
parent 0f1d72510a
commit 192e087f97

View File

@ -176,7 +176,7 @@ void VCLXAccessibleBox::ProcessWindowEvent (const VclWindowEvent& rVclWindowEven
case VCLEVENT_COMBOBOX_SELECT:
{
VCLXAccessibleList* pList = static_cast<VCLXAccessibleList*>(m_xList.get());
if (pList != NULL)
if (pList != NULL && m_xText.is())
{
Reference<XAccessibleText> xText (m_xText->getAccessibleContext(), UNO_QUERY);
if ( xText.is() )