summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-11-26 14:40:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-11-26 17:43:53 +0100
commit0675ee723d45e8074d2e2188983a9c19866a9078 (patch)
treee3115a7b5eb9433cee32f4d9075adb7ebb9147c6 /vcl/win
parentfc2d2e0d83620cb2779d22694ab45189acf7afd8 (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.cxx8
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 )
{