summaryrefslogtreecommitdiff
path: root/extensions/source
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source')
-rw-r--r--extensions/source/propctrlr/selectlabeldialog.cxx2
-rw-r--r--extensions/source/propctrlr/taborder.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/selectlabeldialog.cxx b/extensions/source/propctrlr/selectlabeldialog.cxx
index 79f37b5602b1..27ed6d5d1799 100644
--- a/extensions/source/propctrlr/selectlabeldialog.cxx
+++ b/extensions/source/propctrlr/selectlabeldialog.cxx
@@ -61,7 +61,7 @@ namespace pcr
// initialize the TreeListBox
m_pControlTree->SetSelectionMode( SINGLE_SELECTION );
- m_pControlTree->SetDragDropMode( 0 );
+ m_pControlTree->SetDragDropMode( DragDropMode::NONE );
m_pControlTree->EnableInplaceEditing( false );
m_pControlTree->SetStyle(m_pControlTree->GetStyle() | WB_BORDER | WB_HASLINES | WB_HASLINESATROOT | WB_HASBUTTONS | WB_HASBUTTONSATROOT | WB_HSCROLL);
diff --git a/extensions/source/propctrlr/taborder.cxx b/extensions/source/propctrlr/taborder.cxx
index 2036f0834a07..80a10be07203 100644
--- a/extensions/source/propctrlr/taborder.cxx
+++ b/extensions/source/propctrlr/taborder.cxx
@@ -292,7 +292,7 @@ namespace pcr
TabOrderListBox::TabOrderListBox( vcl::Window* pParent, WinBits nBits )
:SvTreeListBox( pParent, nBits )
{
- SetDragDropMode(0xFFFF/*SV_DRAGDROP_CTRL_MOVE*/);
+ SetDragDropMode(DragDropMode::ALL/*DragDropMode::CTRL_MOVE*/);
// Hmm. The flag alone is not enough, so to be on the safe side ...
SetSelectionMode( MULTIPLE_SELECTION );