diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-10-29 20:52:22 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-10-29 21:33:18 -0400 |
commit | 7e04bc142e7ce35623fb1336a04baae9c523ebbf (patch) | |
tree | f11991be36e792d27bcaee438e9526fdd38e3373 /svtools/inc | |
parent | 3562ffacf7408eeb5da10aedd63a7f467304603d (diff) |
Remove unnecessary type casts.
Change-Id: Idda5d6ad4d8991efb97d75b7ee743bc98b3e4c03
Diffstat (limited to 'svtools/inc')
-rw-r--r-- | svtools/inc/svtools/treelistbox.hxx | 2 | ||||
-rw-r--r-- | svtools/inc/svtools/treelistentry.hxx | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/svtools/inc/svtools/treelistbox.hxx b/svtools/inc/svtools/treelistbox.hxx index 6cd21625350c..48ab00726e58 100644 --- a/svtools/inc/svtools/treelistbox.hxx +++ b/svtools/inc/svtools/treelistbox.hxx @@ -378,7 +378,7 @@ public: void SetModel(SvTreeList* pNewModel); sal_uLong GetEntryCount() const {return pModel->GetEntryCount();} - SvTreeListEntry* First() const { return (SvTreeListEntry*)(pModel->First()); } + SvTreeListEntry* First() const { return pModel->First(); } SvTreeListEntry* Next( SvTreeListEntry* pEntry, sal_uInt16* pDepth=0 ) const { return pModel->Next(pEntry,pDepth); } SvTreeListEntry* Prev( SvTreeListEntry* pEntry, sal_uInt16* pDepth=0 ) const { return pModel->Prev(pEntry,pDepth); } SvTreeListEntry* Last() const { return pModel->Last(); } diff --git a/svtools/inc/svtools/treelistentry.hxx b/svtools/inc/svtools/treelistentry.hxx index 757e4b755ec1..37a0ba131d49 100644 --- a/svtools/inc/svtools/treelistentry.hxx +++ b/svtools/inc/svtools/treelistentry.hxx @@ -81,6 +81,9 @@ public: bool HasChildListPos() const; sal_uLong GetChildListPos() const; + SvTreeListEntries& GetChildEntries(); + const SvTreeListEntries& GetChildEntries() const; + void Clone(SvTreeListEntry* pSource); sal_uInt16 ItemCount() const; |