diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/utlui/content.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index c614ee4d7c7d..64a710b6f3f3 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -1763,7 +1763,7 @@ IMPL_LINK(SwContentTree, CommandHdl, const CommandEvent&, rCEvt, bool) xPop->remove("sort"); bool bSetSensitiveCollapseAllCategories = false; - if (!m_bIsRoot) + if (!m_bIsRoot && xEntry) { bool bEntry = m_xTreeView->get_iter_first(*xEntry); while (bEntry) |