summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-21 15:33:43 +0200
committerNoel Grandin <noel@peralex.com>2015-04-22 10:28:41 +0200
commit1b5f6935a498c1d9eea35ba0aa2edd25ee11ca47 (patch)
tree40347c60c1970acf90dd6db95f4067bb4216a62e /extensions
parent38143e4599e4ec759a11ea96a4b852bb00a42ab6 (diff)
convert SV_DRAGDOP_ constants to scoped enum
Change-Id: If953610ed24a2b6d5f33f2ba014fba2ca5308d7d
Diffstat (limited to 'extensions')
-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 );