[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - cui/source

Caolán McNamara caolanm at redhat.com
Mon Mar 14 15:40:10 UTC 2016


 cui/source/options/optaboutconfig.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e1206bfbf508f4a458e7ac8fe6d0935d177cb778
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Mar 14 09:55:31 2016 +0000

    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 <ci at libreoffice.org>
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx
index 58838fc..f65eca9 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: */


More information about the Libreoffice-commits mailing list