Hide this, and don't expose method definitions of exported class.
Change-Id: I52ff833c9b552f4593dedf771f6370bdeedf2b7d
This commit is contained in:
parent
3f662c726d
commit
3bf14d2983
2 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue