summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-11-27 12:57:47 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-11-28 10:01:30 -0500
commit3bf14d298342806125e54a075ea4c8ec6132aa38 (patch)
treeb818981a75ae1eda54fa664ab6a4313cac832f68 /svtools
parent3f662c726d5fb53aa3374866dab1f8c8246ca804 (diff)
Hide this, and don't expose method definitions of exported class.
Change-Id: I52ff833c9b552f4593dedf771f6370bdeedf2b7d
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/svtools/treelistbox.hxx2
-rw-r--r--svtools/source/contnr/treelistbox.cxx5
2 files changed, 6 insertions, 1 deletions
diff --git a/svtools/inc/svtools/treelistbox.hxx b/svtools/inc/svtools/treelistbox.hxx
index 308b2b255f5a..549e859cbc62 100644
--- a/svtools/inc/svtools/treelistbox.hxx
+++ b/svtools/inc/svtools/treelistbox.hxx
@@ -411,7 +411,7 @@ public:
sal_uLong GetChildCount( SvTreeListEntry* pParent ) const;
sal_uLong GetLevelChildCount( SvTreeListEntry* pParent ) const;
- SvViewDataEntry* GetViewDataEntry( SvTreeListEntry* pEntry ) const { return (SvViewDataEntry*)SvListView::GetViewData(pEntry); }
+ SvViewDataEntry* GetViewDataEntry( SvTreeListEntry* pEntry ) const;
SvViewDataItem* GetViewDataItem(SvTreeListEntry*, SvLBoxItem*);
const SvViewDataItem* GetViewDataItem(const SvTreeListEntry*, const SvLBoxItem*) const;
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index bf9493d5b16b..a5cd300a58e1 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -964,6 +964,11 @@ sal_uLong SvTreeListBox::GetLevelChildCount( SvTreeListEntry* _pParent ) const
return nCount;
}
+SvViewDataEntry* SvTreeListBox::GetViewDataEntry( SvTreeListEntry* pEntry ) const
+{
+ return (SvViewDataEntry*)SvListView::GetViewData(pEntry);
+}
+
SvViewDataItem* SvTreeListBox::GetViewDataItem(SvTreeListEntry* pEntry, SvLBoxItem* pItem)
{
return const_cast<SvViewDataItem*>(static_cast<const SvTreeListBox*>(this)->GetViewDataItem(pEntry, pItem));