diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-03-27 08:46:06 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-03-27 10:58:20 +0100 |
commit | 07a176e223065e185f749d88fd750b740df39b50 (patch) | |
tree | 53c53bf203be3290548d44d491652e604fe84f9c /canvas/source | |
parent | be0655364cf3fff09195d6ce9d50e5b60b98ff18 (diff) |
loplugin:unnecessaryparen (clang-cl)
Change-Id: I0ce344a2a69604467d5bf579a2fdcaae172d5f54
Reviewed-on: https://gerrit.libreoffice.org/69788
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'canvas/source')
-rw-r--r-- | canvas/source/directx/dx_9rm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/directx/dx_9rm.cxx b/canvas/source/directx/dx_9rm.cxx index 86894825c16f..988f4a06d618 100644 --- a/canvas/source/directx/dx_9rm.cxx +++ b/canvas/source/directx/dx_9rm.cxx @@ -93,7 +93,7 @@ namespace dxcanvas HMONITOR MonitorFromWindow( HWND hwnd ) { // return adapter_default in case something went wrong... - if(!(mpMonitorFromWindow)) + if(!mpMonitorFromWindow) return HMONITOR(nullptr); // MONITOR_DEFAULTTONEAREST const DWORD dwFlags(0x00000002); @@ -561,7 +561,7 @@ namespace dxcanvas void DXRenderModule::disposing() { - if(!(mhWnd)) + if(!mhWnd) return; mpTexture.reset(); |