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.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 4aaf9f46569b..f9e18453895a 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -1201,7 +1201,7 @@ sal_Int8 SvTreeListBox::AcceptDrop( const AcceptDropEvent& rEvt )
sal_Int8 SvTreeListBox::ExecuteDrop( const ExecuteDropEvent& rEvt, SvTreeListBox* pSourceView )
{
DBG_ASSERT( pSourceView, "SvTreeListBox::ExecuteDrop(): no source view" );
- pSourceView->EnableSelectionAsDropTarget( true );
+ pSourceView->EnableSelectionAsDropTarget();
ImplShowTargetEmphasis( pTargetEntry, false );
pDDTarget = this;
@@ -1312,7 +1312,7 @@ nAction
#endif
)
{
- EnableSelectionAsDropTarget( true );
+ EnableSelectionAsDropTarget();
#ifndef UNX
if( (nAction == DND_ACTION_MOVE) && ( (pDDTarget &&
@@ -2137,7 +2137,7 @@ void SvTreeListBox::KeyInput( const KeyEvent& rKEvt )
void SvTreeListBox::RequestingChildren( SvTreeListEntry* pParent )
{
if( !pParent->HasChildren() )
- InsertEntry( OUString("<dummy>"), pParent, false, TREELIST_APPEND );
+ InsertEntry( OUString("<dummy>"), pParent );
}
void SvTreeListBox::GetFocus()