summaryrefslogtreecommitdiff
path: root/vcl/osx/vclnsapp.mm
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-02 11:37:49 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-05 06:52:22 +0000
commit0e30af6fdc496ee1b935d68e979aa63729cef878 (patch)
tree455c406d192639a69fb0615476eb1d6a6b8c4172 /vcl/osx/vclnsapp.mm
parent5ffa83a2b39cc77b36ef6f2ecc46ae5482e3e68c (diff)
convert SAL_FRAME_STYLE to scoped enum
Change-Id: Ic3f7fddcea36c18ffe43c4c633d415f596a58cbc Reviewed-on: https://gerrit.libreoffice.org/19094 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/osx/vclnsapp.mm')
-rw-r--r--vcl/osx/vclnsapp.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/vclnsapp.mm b/vcl/osx/vclnsapp.mm
index 6cbf5222e43a..2614754cf4ce 100644
--- a/vcl/osx/vclnsapp.mm
+++ b/vcl/osx/vclnsapp.mm
@@ -150,7 +150,7 @@
// popup windows do not get the focus, so they don't get these either
// simplest would be dispatch this to the key window always if it is without parent
// however e.g. in document we want the menu shortcut if e.g. the stylist has focus
- if( pFrame->mpParent && (pFrame->mnStyle & SAL_FRAME_STYLE_FLOAT) == 0 )
+ if( pFrame->mpParent && !(pFrame->mnStyle & SalFrameStyleFlags::FLOAT) )
{
[[pKeyWin contentView] keyDown: pEvent];
bHandled = GetSalData()->maKeyEventAnswer[ pEvent ];