summaryrefslogtreecommitdiff
path: root/cui
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 /cui
parent38143e4599e4ec759a11ea96a4b852bb00a42ab6 (diff)
convert SV_DRAGDOP_ constants to scoped enum
Change-Id: If953610ed24a2b6d5f33f2ba014fba2ca5308d7d
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/acccfg.cxx2
-rw-r--r--cui/source/customize/cfg.cxx8
-rw-r--r--cui/source/customize/selector.cxx2
3 files changed, 6 insertions, 6 deletions
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx
index f26e00ccd606..05aa1343d5c8 100644
--- a/cui/source/customize/acccfg.cxx
+++ b/cui/source/customize/acccfg.cxx
@@ -776,7 +776,7 @@ SfxAcceleratorConfigPage::SfxAcceleratorConfigPage( vcl::Window* pParent, const
m_pEntriesBox->SetTabs(&AccCfgTabs[0], MAP_APPFONT);
m_pEntriesBox->Resize(); // OS: Hack for right selection
m_pEntriesBox->SetSpaceBetweenEntries(0);
- m_pEntriesBox->SetDragDropMode(0);
+ m_pEntriesBox->SetDragDropMode(DragDropMode::NONE);
// detect max keyname width
long nMaxWidth = 0;
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 5d6b74ae0b81..aa1cd010af66 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -1389,10 +1389,10 @@ SvxMenuEntriesListBox::SvxMenuEntriesListBox(vcl::Window* pParent, SvxConfigPage
SetHighlightRange();
SetSelectionMode(SINGLE_SELECTION);
- SetDragDropMode( SV_DRAGDROP_CTRL_MOVE |
- SV_DRAGDROP_APP_COPY |
- SV_DRAGDROP_ENABLE_TOP |
- SV_DRAGDROP_APP_DROP);
+ SetDragDropMode( DragDropMode::CTRL_MOVE |
+ DragDropMode::APP_COPY |
+ DragDropMode::ENABLE_TOP |
+ DragDropMode::APP_DROP);
}
SvxMenuEntriesListBox::~SvxMenuEntriesListBox()
diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx
index 761cd4f831d0..5a5723d81c19 100644
--- a/cui/source/customize/selector.cxx
+++ b/cui/source/customize/selector.cxx
@@ -873,7 +873,7 @@ SvxScriptSelectorDialog::SvxScriptSelectorDialog(
// If we are showing Slot API commands update labels in the UI, and
// enable drag'n'drop
SetText(CUI_RESSTR(RID_SVXSTR_SELECTOR_ADD_COMMANDS));
- m_pCommands->SetDragDropMode( SV_DRAGDROP_APP_COPY );
+ m_pCommands->SetDragDropMode( DragDropMode::APP_COPY );
get(m_pCancelButton, "close");
get(m_pDialogDescription, "helptoolbar");