diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-11-26 14:40:27 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-11-26 17:43:53 +0100 |
commit | 0675ee723d45e8074d2e2188983a9c19866a9078 (patch) | |
tree | e3115a7b5eb9433cee32f4d9075adb7ebb9147c6 /vcl/win | |
parent | fc2d2e0d83620cb2779d22694ab45189acf7afd8 (diff) |
loplugin:external (clang-cl)
Change-Id: Iab2231e90e55c7e583a2fafd08469ee01b02ce82
Reviewed-on: https://gerrit.libreoffice.org/83767
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/window/salframe.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx index 2669083506b1..944acf6cd52d 100644 --- a/vcl/win/window/salframe.cxx +++ b/vcl/win/window/salframe.cxx @@ -3658,12 +3658,16 @@ bool ImplHandleSalObjSysCharMsg( HWND hWnd, WPARAM wParam, LPARAM lParam ) return nRet; } +namespace { + enum class DeferPolicy { Blocked, Allowed }; +} + // Remember to release the solar mutex on success! static WinSalFrame* ProcessOrDeferMessage( HWND hWnd, INT nMsg, WPARAM pWParam = 0, DeferPolicy eCanDefer = DeferPolicy::Allowed ) @@ -3704,12 +3708,16 @@ static WinSalFrame* ProcessOrDeferMessage( HWND hWnd, INT nMsg, WPARAM pWParam = return pFrame; } +namespace { + enum class PostedState { IsPosted, IsInitial }; +} + static bool ImplHandlePostPaintMsg( HWND hWnd, RECT* pRect, PostedState eProcessed = PostedState::IsPosted ) { |