summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-11 12:45:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-11 14:32:40 +0200
commit4caacff9f25498c07d9b99fe0b5db82baa58a22c (patch)
treef828aba3333c82e5becb56706cdfeb7ce7d0461a /sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx
parentd58c604eb35a84b849079d3a690d0a4f428d3121 (diff)
convert EditMode to scoped enum
Change-Id: I7c48978f3e2c173a2ec53eb6559745deeee9b93b
Diffstat (limited to 'sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx')
-rw-r--r--sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx b/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx
index 4cca82bc1d00..cbaf2dab436c 100644
--- a/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx
@@ -44,7 +44,7 @@ DragAndDropContext::DragAndDropContext (SlideSorter& rSlideSorter)
mnInsertionIndex(-1)
{
// No Drag-and-Drop for master pages.
- if (rSlideSorter.GetModel().GetEditMode() != EM_PAGE)
+ if (rSlideSorter.GetModel().GetEditMode() != EditMode::Page)
return;
// For properly handling transferables created by the navigator we