canvas/source/directx/dx_9rm.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 07a176e223065e185f749d88fd750b740df39b50 Author: Stephan Bergmann <[email protected]> AuthorDate: Wed Mar 27 08:46:06 2019 +0100 Commit: Stephan Bergmann <[email protected]> CommitDate: Wed Mar 27 10:58:20 2019 +0100 loplugin:unnecessaryparen (clang-cl) Change-Id: I0ce344a2a69604467d5bf579a2fdcaae172d5f54 Reviewed-on: https://gerrit.libreoffice.org/69788 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <[email protected]> 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(); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
