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/win/source | |
parent | 741d9990bf9d9dfcba1166a12ffb1d846c912181 (diff) |
convert INPUTCONTEXT_ constants to scoped enum
Change-Id: I5b99e42a3e85527b27d515c468d2ed66386fc9df
Diffstat (limited to 'vcl/win/source')
-rw-r--r-- | vcl/win/source/window/salframe.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index 999cb660544c..fae12e695f06 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -2219,7 +2219,7 @@ void WinSalFrame::Sync() static void ImplSalFrameSetInputContext( HWND hWnd, const SalInputContext* pContext ) { WinSalFrame* pFrame = GetWindowPtr( hWnd ); - bool bIME = (pContext->mnOptions & SAL_INPUTCONTEXT_TEXT) != 0; + bool bIME(pContext->mnOptions & InputContextFlags::Text); if ( bIME ) { if ( !pFrame->mbIME ) @@ -2238,7 +2238,7 @@ static void ImplSalFrameSetInputContext( HWND hWnd, const SalInputContext* pCont // When the application can't handle IME messages, then the // System should handle the IME handling - if ( !(pContext->mnOptions & SAL_INPUTCONTEXT_EXTTEXTINPUT) ) + if ( !(pContext->mnOptions & InputContextFlags::ExtText) ) pFrame->mbHandleIME = FALSE; // Set the Font for IME Handling |