svtools/inc/svtools/treelist.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 9265749be4b0ba24f04c39d78354109e5fcedcfc Author: Tsutomu Uchino <[email protected]> Date: Mon Sep 19 13:29:14 2016 +0000 #i125762# fix null pointer reference while accessibility related call diff --git a/svtools/inc/svtools/treelist.hxx b/svtools/inc/svtools/treelist.hxx index 3aaf412..81d7959 100644 --- a/svtools/inc/svtools/treelist.hxx +++ b/svtools/inc/svtools/treelist.hxx @@ -404,7 +404,7 @@ inline sal_Bool SvListView::IsExpanded( SvListEntry* pEntry ) const 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 { _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
