From 192e087f97166d2b3ff6151de04d16abbe45a1d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Schmidt?= Date: Wed, 2 Jul 2014 08:19:37 +0000 Subject: [PATCH] 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 --- accessibility/source/standard/vclxaccessiblebox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessibility/source/standard/vclxaccessiblebox.cxx b/accessibility/source/standard/vclxaccessiblebox.cxx index f9a63d69952c..20aa8f3b6a7e 100644 --- a/accessibility/source/standard/vclxaccessiblebox.cxx +++ b/accessibility/source/standard/vclxaccessiblebox.cxx @@ -176,7 +176,7 @@ void VCLXAccessibleBox::ProcessWindowEvent (const VclWindowEvent& rVclWindowEven case VCLEVENT_COMBOBOX_SELECT: { VCLXAccessibleList* pList = static_cast(m_xList.get()); - if (pList != NULL) + if (pList != NULL && m_xText.is()) { Reference xText (m_xText->getAccessibleContext(), UNO_QUERY); if ( xText.is() )