summaryrefslogtreecommitdiff
path: root/vcl/source/window/mouse.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-10 12:54:24 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-11 07:54:40 +0000
commit10cc455580b2349e99ac48732cc451f7e2126953 (patch)
tree40c7225a054740cdf4462116b46d9fd3e960d482 /vcl/source/window/mouse.cxx
parent4e8a0a75f46356639ac9e00086e2ec9b9f333c77 (diff)
convert SAL_FRAME_TOTOP to scoped enum
Change-Id: Id996e1e6fc29f6323bd4e82785386de26d075cae Reviewed-on: https://gerrit.libreoffice.org/24834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/window/mouse.cxx')
-rw-r--r--vcl/source/window/mouse.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/mouse.cxx b/vcl/source/window/mouse.cxx
index 4782c15aa5ac..516b6ed7e9fc 100644
--- a/vcl/source/window/mouse.cxx
+++ b/vcl/source/window/mouse.cxx
@@ -305,7 +305,7 @@ void Window::ImplGrabFocus( GetFocusFlags nFlags )
{
// here we already switch focus as ToTop()
// should not give focus to another window
- mpWindowImpl->mpFrame->ToTop( SAL_FRAME_TOTOP_GRABFOCUS | SAL_FRAME_TOTOP_GRABFOCUS_ONLY );
+ mpWindowImpl->mpFrame->ToTop( SalFrameToTop::GrabFocus | SalFrameToTop::GrabFocusOnly );
return;
}
}