diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-05-19 11:19:31 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-05-19 17:31:41 +0200 |
commit | d34a43701d2bdd7c006497904e962d09eb31ac58 (patch) | |
tree | 0eb259af1054bc352e593f8fee8583983f4ff08a /canvas | |
parent | 4122d2b96f98f3b7b7332f6c1b047e03d0744f95 (diff) |
loplugin:redundantcast
Change-Id: I1d9bebc5bc0b32e71694915070a8770b3ca601c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134606
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/directx/dx_9rm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |