diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-13 08:55:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-13 08:56:23 +0200 |
commit | 5b76c5023faf345814a7dd874d2b7cfd3dd05096 (patch) | |
tree | a45cb37fca77e42b15d30173dfcb8f2037f9e2d2 /vcl/osx/salnativewidgets.cxx | |
parent | 4c27e84145fc8546b180b81c15f58d2382779ac9 (diff) |
fix OSX build
after my commit 7ac403aa7cb2bd531245280d88bdc9fe6553c711
"convert FRAME_DRAW constants to scoped enum"
Change-Id: Id76d76d5549cd09b35b1d9e8fb68c9549f9fd3a9
Diffstat (limited to 'vcl/osx/salnativewidgets.cxx')
-rw-r--r-- | vcl/osx/salnativewidgets.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx index 8ef6ed6a29df..0e762edb2997 100644 --- a/vcl/osx/salnativewidgets.cxx +++ b/vcl/osx/salnativewidgets.cxx @@ -1013,7 +1013,7 @@ bool AquaSalGraphics::drawNativeControl(ControlType nType, case CTRL_FRAME: { - sal_uInt16 nStyle = aValue.getNumericVal(); + DrawFrameFlags nStyle = static_cast<DrawFrameFlags>(aValue.getNumericVal()); if( nPart == PART_BORDER ) { if(!( nStyle & DrawFrameFlags::Menu ) && !(nStyle & DrawFrameFlags::WindowBorder) ) { @@ -1319,7 +1319,7 @@ bool AquaSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPa break; case CTRL_FRAME: { - sal_uInt16 nStyle = aValue.getNumericVal(); + DrawFrameFlags nStyle = static_cast<DrawFrameFlags>(aValue.getNumericVal()); if( ( nPart == PART_BORDER ) && !( nStyle & (DrawFrameFlags::Menu | DrawFrameFlags::WindowBorder | DrawFrameFlags::BorderWindowBorder) ) ) { |