diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-26 15:22:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-27 11:14:26 +0200 |
commit | 9e3b1236b68069016d646b5682ce541335b5340c (patch) | |
tree | 5554d6d0baba0cc3c55ab5e1a9fba04104b0ae74 /sd | |
parent | edc69a55c30ac6cc12de0bf18bddb7dc3f210be4 (diff) |
convert WINDOW_DLGCTRL flags to scoped enum
Change-Id: I6c3a95cdcb15e5b1d4adb13908a751b06a302e20
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/slidesorter/shell/SlideSorter.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/sdwindow.cxx | 2 |
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 2b936a039561..a4fdbd28a687 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); |