vcl/win/window/salframe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 70a768e2b66cdb0f7a68a47cd9a6be16f317eeeb Author: Stephan Bergmann <[email protected]> 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 <[email protected]> Reviewed-by: Stephan Bergmann <[email protected]> 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 _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
