summaryrefslogtreecommitdiff
path: root/svtools/source/contnr/treelistbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/contnr/treelistbox.cxx')
-rw-r--r--svtools/source/contnr/treelistbox.cxx14
1 files changed, 2 insertions, 12 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index ba4abb0cb895..0cab871c4086 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -718,11 +718,6 @@ void SvTreeListBox::RemoveSelection()
pModel->Remove(*it);
}
-SvTreeListBox* SvTreeListBox::GetSourceView()
-{
- return g_pDDSource;
-}
-
void SvTreeListBox::RecalcViewData()
{
SvTreeListEntry* pEntry = First();
@@ -746,7 +741,7 @@ void SvTreeListBox::ImplShowTargetEmphasis( SvTreeListEntry* pEntry, bool bShow)
return;
if ( !bShow && !(nImpFlags & SvTreeListBoxFlags::TARGEMPH_VIS) )
return;
- ShowTargetEmphasis( pEntry, bShow );
+ pImpl->PaintDDCursor( pEntry );
if( bShow )
nImpFlags |= SvTreeListBoxFlags::TARGEMPH_VIS;
else
@@ -1191,7 +1186,7 @@ sal_Int8 SvTreeListBox::ExecuteDrop( const ExecuteDropEvent& rEvt, SvTreeListBox
sal_Int8 SvTreeListBox::ExecuteDrop( const ExecuteDropEvent& rEvt )
{
- return ExecuteDrop( rEvt, GetSourceView() );
+ return ExecuteDrop( rEvt, g_pDDSource );
}
/**
@@ -2138,11 +2133,6 @@ void SvTreeListBox::ModelHasCleared()
SvListView::ModelHasCleared();
}
-void SvTreeListBox::ShowTargetEmphasis( SvTreeListEntry* pEntry, bool /*bShow*/ )
-{
- pImpl->PaintDDCursor( pEntry );
-}
-
void SvTreeListBox::ScrollOutputArea( short nDeltaEntries )
{
if( !nDeltaEntries || !pImpl->aVerSBar->IsVisible() )