summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-03-27 08:46:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-03-27 10:58:20 +0100
commit07a176e223065e185f749d88fd750b740df39b50 (patch)
tree53c53bf203be3290548d44d491652e604fe84f9c /canvas
parentbe0655364cf3fff09195d6ce9d50e5b60b98ff18 (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')
-rw-r--r--canvas/source/directx/dx_9rm.cxx4
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();