summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-26 15:22:10 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-05 22:08:43 -0500
commite7ac68cb96dbed66a7994dfd05d7de92767226a5 (patch)
tree23086fae817185db6be0b6ccbb54fbf8becb4732 /sd
parent7212033b4c0fb05996ce4a2bc39fad0d0acc4d48 (diff)
convert WINDOW_DLGCTRL flags to scoped enum
Change-Id: I6c3a95cdcb15e5b1d4adb13908a751b06a302e20 (cherry picked from commit 9e3b1236b68069016d646b5682ce541335b5340c)
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorter.cxx2
-rw-r--r--sd/source/ui/view/sdwindow.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
index a97135c718a2..fd45631f4a08 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
@@ -442,7 +442,7 @@ ContentWindow::ContentWindow(
mrSlideSorter(rSlideSorter),
mpCurrentFunction()
{
- SetDialogControlFlags(GetDialogControlFlags() & ~WINDOW_DLGCTRL_WANTFOCUS);
+ SetDialogControlFlags(GetDialogControlFlags() & ~DialogControlFlags::WantFocus);
SetStyle(GetStyle() | WB_NOPOINTERFOCUS);
}
diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx
index 5cc3f2484ef3..4df5becfdea7 100644
--- a/sd/source/ui/view/sdwindow.cxx
+++ b/sd/source/ui/view/sdwindow.cxx
@@ -69,7 +69,7 @@ Window::Window(vcl::Window* pParent)
mpViewShell(NULL),
mbUseDropScroll (true)
{
- SetDialogControlFlags( WINDOW_DLGCTRL_RETURN | WINDOW_DLGCTRL_WANTFOCUS );
+ SetDialogControlFlags( DialogControlFlags::Return | DialogControlFlags::WantFocus );
MapMode aMap(GetMapMode());
aMap.SetMapUnit(MAP_100TH_MM);