summaryrefslogtreecommitdiffstats
path: root/vcl/source/treelist/treelist.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/treelist/treelist.cxx')
-rw-r--r--vcl/source/treelist/treelist.cxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/vcl/source/treelist/treelist.cxx b/vcl/source/treelist/treelist.cxx
index 03c1d9d4e831..681bef4d0c7d 100644
--- a/vcl/source/treelist/treelist.cxx
+++ b/vcl/source/treelist/treelist.cxx
@@ -1468,24 +1468,6 @@ void SvTreeList::ResortChildren( SvTreeListEntry* pParent )
SetListPositions(pParent->m_Children); // correct list position in target list
}
-void SvTreeList::ReverseChildren( SvTreeListEntry* pParent )
-{
- DBG_ASSERT(pParent,"Parent not set");
-
- if (pParent->m_Children.empty())
- return;
-
- std::reverse(pParent->m_Children.begin(), pParent->m_Children.end());
- // Recursively sort child entries.
- for (auto const& it : pParent->m_Children)
- {
- SvTreeListEntry& r = *it;
- ReverseChildren(&r);
- }
-
- SetListPositions(pParent->m_Children); // correct list position in target list
-}
-
void SvTreeList::GetInsertionPos( SvTreeListEntry const * pEntry, SvTreeListEntry* pParent,
sal_uLong& rPos )
{