summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx
diff options
context:
space:
mode:
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