diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-27 13:47:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-28 12:47:05 +0200 |
commit | 4c93c30c79ae885d488a8a04d383fe5308a1d520 (patch) | |
tree | c0309401c718c0459dd1a0035bcbddd113d655b8 /sfx2 | |
parent | 46a985feca255abbebf826be6103ee8cc7f2cde1 (diff) |
convert GETFOCUS constants to scoped enum
Change-Id: I7c324bb6358be28c119592850eb7607479279f09
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 d58f8562baa8..6e156eb71884 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -463,10 +463,10 @@ bool BackingWindow::Notify( 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; |