diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-27 13:47:57 +0200 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-02-05 22:20:11 -0500 |
commit | e5ef25d43c367aa192d71494aad94f3e63bf5be4 (patch) | |
tree | dde96cc707ba8e5db814ae0a36bb818554a06457 /sfx2 | |
parent | f0b17442a3dd013719e377f0646e0e2d54f71037 (diff) |
convert GETFOCUS constants to scoped enum
Change-Id: I7c324bb6358be28c119592850eb7607479279f09
(cherry picked from commit 4c93c30c79ae885d488a8a04d383fe5308a1d520)
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 2c0d8c0dda79..f290957ffae6 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -456,10 +456,10 @@ bool BackingWindow::PreNotify( NotifyEvent& rNEvt ) void BackingWindow::GetFocus() { - sal_uInt16 nFlags = GetParent()->GetGetFocusFlags(); - if( nFlags & GETFOCUS_F6 ) + GetFocusFlags nFlags = GetParent()->GetGetFocusFlags(); + if( nFlags & GetFocusFlags::F6 ) { - if( nFlags & GETFOCUS_FORWARD ) // F6 + if( nFlags & GetFocusFlags::Forward ) // F6 { mpOpenButton->GrabFocus(); return; |