From e1206bfbf508f4a458e7ac8fe6d0935d177cb778 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 14 Mar 2016 09:55:31 +0000 Subject: Resolves: tdf#94968 return false is expanding failed to add anything Change-Id: I377c478f3f55c0b41c47ee025f2e09850ece56f3 (cherry picked from commit 1f780088e8171c088ccb1c8bd82e314c1e4016f0) Reviewed-on: https://gerrit.libreoffice.org/23239 Tested-by: Jenkins Reviewed-by: Eike Rathke Tested-by: Eike Rathke --- cui/source/options/optaboutconfig.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx index 58838fc67505..f65eca9fad99 100644 --- a/cui/source/options/optaboutconfig.cxx +++ b/cui/source/options/optaboutconfig.cxx @@ -937,7 +937,7 @@ IMPL_LINK_NOARG_TYPED( CuiAboutConfigTabPage, ExpandingHdl_Impl, SvTreeListBox*, } } - return true; + return pEntry && pEntry->HasChildren(); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit