diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-27 22:01:07 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-28 13:28:32 -0500 |
commit | abfe16cec61eae33c64cb1901f0fc740b0466f60 (patch) | |
tree | 115d36221b8dadce1f8c0fbaace7602d47b32838 /svtools | |
parent | f29c3435caf60b567bc67684b4633c57f6610fab (diff) |
Get it to build after the rebase.
Change-Id: I86bc4fb6aa4158f0efc3ab765841abcea9063693
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/treelistentry.hxx | 3 | ||||
-rw-r--r-- | svtools/source/contnr/treelistentry.cxx | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/svtools/inc/svtools/treelistentry.hxx b/svtools/inc/svtools/treelistentry.hxx index ef33942c3e4f..dfea2651eb0e 100644 --- a/svtools/inc/svtools/treelistentry.hxx +++ b/svtools/inc/svtools/treelistentry.hxx @@ -72,6 +72,9 @@ public: bool HasChildListPos() const; sal_uLong GetChildListPos() const; + SvTreeListEntries& GetChildEntries(); + const SvTreeListEntries& GetChildEntries() const; + void Clone(SvTreeListEntry* pSource); size_t ItemCount() const; diff --git a/svtools/source/contnr/treelistentry.cxx b/svtools/source/contnr/treelistentry.cxx index 198c78eeb6fd..5a97b097819b 100644 --- a/svtools/source/contnr/treelistentry.cxx +++ b/svtools/source/contnr/treelistentry.cxx @@ -97,6 +97,16 @@ sal_uLong SvTreeListEntry::GetChildListPos() const return ( nListPos & 0x7fffffff ); } +SvTreeListEntries& SvTreeListEntry::GetChildEntries() +{ + return maChildren; +} + +const SvTreeListEntries& SvTreeListEntry::GetChildEntries() const +{ + return maChildren; +} + void SvTreeListEntry::Clone(SvTreeListEntry* pSource) { nListPos &= 0x80000000; |