[Libreoffice-commits] core.git: vcl/win

Stephan Bergmann sbergman at redhat.com
Fri Mar 9 19:15:32 UTC 2018


 vcl/win/window/salframe.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 70a768e2b66cdb0f7a68a47cd9a6be16f317eeeb
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Mar 9 17:16:36 2018 +0100

    loplugin:nullptr (clang-cl)
    
    Change-Id: I239a6024131a0e659d1723085af3cb7fb64b17cc
    Reviewed-on: https://gerrit.libreoffice.org/51013
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index 75784736c4e8..b7e8472a0934 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -1028,7 +1028,7 @@ SalGraphics* WinSalFrame::AcquireGraphics()
 
     SalData* pSalData = GetSalData();
     WinSalGraphics *pGraphics = nullptr;
-    HDC hDC = 0;
+    HDC hDC = nullptr;
 
     // Other threads get an own DC, because Windows modify in the
     // other case our DC (changing clip region), when they send a


More information about the Libreoffice-commits mailing list