diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-14 12:00:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-14 12:00:41 +0200 |
commit | 68041a0546fc6a05608411365c8382937aafac79 (patch) | |
tree | c0676833d41c491956c71b946f7c69ca0a34f734 /vcl/osx/salframe.cxx | |
parent | 741d9990bf9d9dfcba1166a12ffb1d846c912181 (diff) |
convert INPUTCONTEXT_ constants to scoped enum
Change-Id: I5b99e42a3e85527b27d515c468d2ed66386fc9df
Diffstat (limited to 'vcl/osx/salframe.cxx')
-rw-r--r-- | vcl/osx/salframe.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx index b23b3e64ff75..af1327f3d568 100644 --- a/vcl/osx/salframe.cxx +++ b/vcl/osx/salframe.cxx @@ -76,7 +76,7 @@ AquaSalFrame::AquaSalFrame( SalFrame* pParent, sal_uLong salFrameStyle ) : mePointerStyle( POINTER_ARROW ), mnTrackingRectTag( 0 ), mrClippingPath( 0 ), - mnICOptions( 0 ) + mnICOptions( InputContextFlags::NONE ) { maSysData.nSize = sizeof( SystemEnvData ); @@ -919,13 +919,13 @@ void AquaSalFrame::SetInputContext( SalInputContext* pContext ) { if (!pContext) { - mnICOptions = 0; + mnICOptions = InputContextFlags::NONE; return; } mnICOptions = pContext->mnOptions; - if(!(pContext->mnOptions & SAL_INPUTCONTEXT_TEXT)) + if(!(pContext->mnOptions & InputContextFlags::Text)) return; } |