Use a named constant instead of a magic number
Change-Id: Id74e49744dbc09d274c7e5bcfc54ddc39de02c5f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196293 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
@@ -660,7 +660,7 @@ LRESULT CALLBACK SalComWndProc( HWND, UINT nMsg, WPARAM wParam, LPARAM lParam, b
|
||||
{
|
||||
NoYieldLockGuard g;
|
||||
nRet = reinterpret_cast<LRESULT>(
|
||||
GetDCEx(reinterpret_cast<HWND>(wParam), nullptr, 0x00000002L));
|
||||
GetDCEx(reinterpret_cast<HWND>(wParam), nullptr, DCX_CACHE));
|
||||
}
|
||||
break;
|
||||
case (SAL_MSG_RELEASEDC):
|
||||
|
||||
Reference in New Issue
Block a user