canvas/source/directx/dx_9rm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d34a43701d2bdd7c006497904e962d09eb31ac58 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu May 19 11:19:31 2022 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu May 19 17:31:41 2022 +0200 loplugin:redundantcast Change-Id: I1d9bebc5bc0b32e71694915070a8770b3ca601c3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134606 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/canvas/source/directx/dx_9rm.cxx b/canvas/source/directx/dx_9rm.cxx index 65499f2b55fe..98c4c14b91ee 100644 --- a/canvas/source/directx/dx_9rm.cxx +++ b/canvas/source/directx/dx_9rm.cxx @@ -569,7 +569,7 @@ namespace dxcanvas const HWND hwnd(reinterpret_cast<HWND>(pData->hWnd)); mhWnd = hwnd; - ENSURE_OR_THROW( IsWindow( reinterpret_cast<HWND>(mhWnd) ), + ENSURE_OR_THROW( IsWindow( mhWnd ), "DXRenderModule::create() No valid HWND given." ); // retrieve position and size of the parent window