summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-03-14 09:55:31 +0000
committerEike Rathke <erack@redhat.com>2016-03-14 15:39:44 +0000
commite1206bfbf508f4a458e7ac8fe6d0935d177cb778 (patch)
tree0b97c94e6d274d449912fc202737a22aaebec659
parenta2007d436e41db65374ced89039000a732a04dee (diff)
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@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
-rw-r--r--cui/source/options/optaboutconfig.cxx2
1 files changed, 1 insertions, 1 deletions
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: */