We don't need this method now.
The two classes have been merged. Therefore this method makes no sense now. Change-Id: Idb77d8faf5314f776bebc3bc9abc0e7e88ab5d18
This commit is contained in:
parent
175e516562
commit
6a076eca20
3 changed files with 5 additions and 15 deletions
|
@ -101,7 +101,6 @@ enum SvButtonState { SV_BUTTON_UNCHECKED, SV_BUTTON_CHECKED, SV_BUTTON_TRISTATE
|
|||
|
||||
#define SV_TAB_BORDER 8
|
||||
|
||||
#define SV_LISTBOX_ID_TREEBOX 1 // fuer SvLBox::IsA()
|
||||
#define SV_ENTRYHEIGHTOFFS_PIXEL 2
|
||||
|
||||
#define TREEFLAG_CHKBTN 0x0001
|
||||
|
@ -378,7 +377,6 @@ public:
|
|||
using SvListView::SetModel;
|
||||
void SetModel(SvTreeList* pNewModel);
|
||||
|
||||
sal_uInt16 IsA();
|
||||
sal_uLong GetEntryCount() const {return pModel->GetEntryCount();}
|
||||
SvTreeListEntry* First() const { return (SvTreeListEntry*)(pModel->First()); }
|
||||
SvTreeListEntry* Next( SvTreeListEntry* pEntry, sal_uInt16* pDepth=0 ) const { return pModel->Next(pEntry,pDepth); }
|
||||
|
|
|
@ -790,12 +790,11 @@ sal_Bool SvImpLBox::EntryReallyHit(SvTreeListEntry* pEntry,const Point& rPosPixe
|
|||
|
||||
Rectangle aRect( pView->GetFocusRect( pEntry, nLine ));
|
||||
aRect.Right() = GetOutputSize().Width() - pView->GetMapMode().GetOrigin().X();
|
||||
if( pView->IsA() == SV_LISTBOX_ID_TREEBOX )
|
||||
{
|
||||
SvLBoxContextBmp* pBmp = (SvLBoxContextBmp*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXCONTEXTBMP));
|
||||
aRect.Left() -= pBmp->GetSize(pView,pEntry).Width();
|
||||
aRect.Left() -= 4; // a little tolerance
|
||||
}
|
||||
|
||||
SvLBoxContextBmp* pBmp = (SvLBoxContextBmp*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXCONTEXTBMP));
|
||||
aRect.Left() -= pBmp->GetSize(pView,pEntry).Width();
|
||||
aRect.Left() -= 4; // a little tolerance
|
||||
|
||||
Point aPos( rPosPixel );
|
||||
aPos -= pView->GetMapMode().GetOrigin();
|
||||
if( aRect.IsInside( aPos ) )
|
||||
|
|
|
@ -1554,13 +1554,6 @@ void SvTreeListBox::DisconnectFromModel()
|
|||
pImp->SetModel( GetModel() );
|
||||
}
|
||||
|
||||
|
||||
sal_uInt16 SvTreeListBox::IsA()
|
||||
{
|
||||
DBG_CHKTHIS(SvTreeListBox,0);
|
||||
return SV_LISTBOX_ID_TREEBOX;
|
||||
}
|
||||
|
||||
void SvTreeListBox::SetSublistOpenWithReturn( sal_Bool b )
|
||||
{
|
||||
pImp->bSubLstOpRet = b;
|
||||
|
|
Loading…
Reference in a new issue