summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-02 17:23:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-03 08:16:19 +0200
commit904c97bbdf4c76709dbcacb11292668b98a9efd8 (patch)
tree42855fdaf74aca15c6674836a8f603d22aa87744 /svx
parentbb1d5780226bb1b9156580972eea9aa849178742 (diff)
move SvTreeList::*Sibling to SvTreeListEntry
since they don't depend on SvTreeList at all Change-Id: If48c83976a95943e5cfa92490d68f74281cf4b5f Reviewed-on: https://gerrit.libreoffice.org/56819 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/navigatortree.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx
index 8f8101410bf5..cd44e5f8c502 100644
--- a/svx/source/form/navigatortree.cxx
+++ b/svx/source/form/navigatortree.cxx
@@ -212,7 +212,7 @@ namespace svxform
if (m_pRootEntry)
{
SvTreeListEntry* pFirst = FirstChild(m_pRootEntry);
- if (pFirst && !NextSibling(pFirst))
+ if (pFirst && !pFirst->NextSibling())
Expand(pFirst);
}
}