diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-21 15:33:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-22 10:28:41 +0200 |
commit | 1b5f6935a498c1d9eea35ba0aa2edd25ee11ca47 (patch) | |
tree | 40347c60c1970acf90dd6db95f4067bb4216a62e /sc | |
parent | 38143e4599e4ec759a11ea96a4b852bb00a42ab6 (diff) |
convert SV_DRAGDOP_ constants to scoped enum
Change-Id: If953610ed24a2b6d5f33f2ba014fba2ca5308d7d
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/dbgui/tpsubt.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/navipi/navipi.cxx | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx index 0a54325891d2..e0423626febc 100644 --- a/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx +++ b/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx @@ -24,7 +24,7 @@ ScPivotLayoutTreeListBase::ScPivotLayoutTreeListBase(vcl::Window* pParent, WinBi , mpParent(NULL) { SetHighlightRange(); - SetDragDropMode(SV_DRAGDROP_CTRL_MOVE | SV_DRAGDROP_APP_MOVE | SV_DRAGDROP_APP_DROP); + SetDragDropMode(DragDropMode::CTRL_MOVE | DragDropMode::APP_MOVE | DragDropMode::APP_DROP); } ScPivotLayoutTreeListBase::~ScPivotLayoutTreeListBase() diff --git a/sc/source/ui/dbgui/tpsubt.cxx b/sc/source/ui/dbgui/tpsubt.cxx index 12643fc22c61..f76265dbf9b0 100644 --- a/sc/source/ui/dbgui/tpsubt.cxx +++ b/sc/source/ui/dbgui/tpsubt.cxx @@ -59,7 +59,7 @@ ScTpSubTotalGroup::ScTpSubTotalGroup( vcl::Window* pParent, // Font is correctly initialized by SvTreeListBox ctor mpLbColumns->SetSelectionMode( SINGLE_SELECTION ); - mpLbColumns->SetDragDropMode( SV_DRAGDROP_NONE ); + mpLbColumns->SetDragDropMode( DragDropMode::NONE ); mpLbColumns->SetSpaceBetweenEntries( 0 ); Init (); diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx index 1a6178319f82..d3c47ccf9728 100644 --- a/sc/source/ui/navipi/navipi.cxx +++ b/sc/source/ui/navipi/navipi.cxx @@ -635,9 +635,9 @@ ScNavigatorDlg::ScNavigatorDlg( SfxBindings* pB, SfxChildWindowContext* pCW, vcl aLbEntries.SetSpaceBetweenEntries(0); aLbEntries.SetSelectionMode( SINGLE_SELECTION ); - aLbEntries.SetDragDropMode( SV_DRAGDROP_CTRL_MOVE | - SV_DRAGDROP_CTRL_COPY | - SV_DRAGDROP_ENABLE_TOP ); + aLbEntries.SetDragDropMode( DragDropMode::CTRL_MOVE | + DragDropMode::CTRL_COPY | + DragDropMode::ENABLE_TOP ); // was a category chosen as root? sal_uInt16 nLastRoot = rCfg.GetRootType(); |