[Libreoffice-commits] core.git: canvas/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Wed Mar 27 09:58:46 UTC 2019
canvas/source/directx/dx_9rm.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 07a176e223065e185f749d88fd750b740df39b50
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Mar 27 08:46:06 2019 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
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 <sbergman at redhat.com>
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();
More information about the Libreoffice-commits
mailing list