summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-21 16:17:41 +0200
committerNoel Grandin <noel@peralex.com>2014-02-25 15:16:58 +0200
commita8a356024474803864bf32032c0b530dc28d2294 (patch)
tree01dde1c8c1b70ecd32883c8279bfb825da30aa6b /svtools
parentf45ff6b468a22e52104fc41466e384e0548a85e6 (diff)
remove unused code SvTreeListBox::SearchEntryText(SvTreeListEntry*)
Change-Id: I18d76de5e3280e7efb4dd75bcd5bf819064176e3
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/treelistbox.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 89aa4e250fa6..9408012b9ee6 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -1855,27 +1855,6 @@ OUString SvTreeListBox::GetEntryText(SvTreeListEntry* pEntry) const
return pItem->GetText();
}
-OUString SvTreeListBox::SearchEntryText( SvTreeListEntry* pEntry ) const
-{
- DBG_CHKTHIS(SvTreeListBox,0);
- DBG_ASSERT( pEntry, "SvTreeListBox::SearchEntryText(): no entry" );
- OUString sRet;
- sal_uInt16 nCount = pEntry->ItemCount();
- sal_uInt16 nCur = 0;
- SvLBoxItem* pItem;
- while( nCur < nCount )
- {
- pItem = pEntry->GetItem( nCur );
- if (pItem->GetType() == SV_ITEM_ID_LBOXSTRING && !static_cast<const SvLBoxString*>(pItem)->GetText().isEmpty())
- {
- sRet = static_cast<const SvLBoxString*>(pItem)->GetText();
- break;
- }
- nCur++;
- }
- return sRet;
-}
-
const Image& SvTreeListBox::GetExpandedEntryBmp(const SvTreeListEntry* pEntry) const
{
DBG_CHKTHIS(SvTreeListBox,0);