[Libreoffice-commits] .: Branch 'feature/orcus-update' - svtools/inc svtools/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Nov 27 09:57:19 PST 2012
svtools/inc/svtools/treelistbox.hxx | 2 +-
svtools/source/contnr/treelistbox.cxx | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
New commits:
commit 4e18f3e4069434fcd03ff103ea72d4f72be4fca9
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Tue Nov 27 12:57:47 2012 -0500
Hide this, and don't expose method definitions of exported class.
Change-Id: I52ff833c9b552f4593dedf771f6370bdeedf2b7d
diff --git a/svtools/inc/svtools/treelistbox.hxx b/svtools/inc/svtools/treelistbox.hxx
index 308b2b2..549e859 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 bf9493d..a5cd300 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));
More information about the Libreoffice-commits
mailing list