Author: hanya
Date: Mon Sep 19 13:29:14 2016
New Revision: 1761439

URL: http://svn.apache.org/viewvc?rev=1761439&view=rev
Log:
#i125762# fix null pointer reference while accessibility related call

Modified:
    openoffice/trunk/main/svtools/inc/svtools/treelist.hxx

Modified: openoffice/trunk/main/svtools/inc/svtools/treelist.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/svtools/inc/svtools/treelist.hxx?rev=1761439&r1=1761438&r2=1761439&view=diff
==============================================================================
--- openoffice/trunk/main/svtools/inc/svtools/treelist.hxx (original)
+++ openoffice/trunk/main/svtools/inc/svtools/treelist.hxx Mon Sep 19 13:29:14 
2016
@@ -404,7 +404,7 @@ inline sal_Bool SvListView::IsExpanded(
        DBG_ASSERT(pEntry,"IsExpanded:No Entry");
        SvViewData* pData = (SvViewData*)aDataTable.Get( (sal_uLong)pEntry );
        DBG_ASSERT(pData,"Entry not in Table");
-       return pData->IsExpanded();
+       return pData && pData->IsExpanded();
 }
 inline sal_Bool SvListView::IsSelected( SvListEntry* pEntry ) const
 {


Reply via email to