diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-01-30 14:31:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-01-30 21:59:43 +0100 |
commit | 2035b3ea5390f2d1d61a72b7c2e8f1193db3d2d2 (patch) | |
tree | d6e5586087c83dac908df3fbe2dd78ab43e702e2 /extensions/source/scanner | |
parent | 191966900865bd720f356941cb392abf3538df31 (diff) |
loplugin:nullptr (clang-cl)
Change-Id: Ief2ac9e55c042252e9e9b0f2334057af8602e087
Reviewed-on: https://gerrit.libreoffice.org/67140
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions/source/scanner')
-rw-r--r-- | extensions/source/scanner/scanwin.cxx | 2 | ||||
-rw-r--r-- | extensions/source/scanner/twain32shim.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/scanner/scanwin.cxx b/extensions/source/scanner/scanwin.cxx index b8dfa273fce3..315b8677c832 100644 --- a/extensions/source/scanner/scanwin.cxx +++ b/extensions/source/scanner/scanwin.cxx @@ -231,7 +231,7 @@ void Twain::ShimListenerThread::execute() { MSG msg; // Initialize thread message queue before launching shim process - PeekMessageW(&msg, 0, 0, 0, PM_NOREMOVE); + PeekMessageW(&msg, nullptr, 0, 0, PM_NOREMOVE); try { diff --git a/extensions/source/scanner/twain32shim.cxx b/extensions/source/scanner/twain32shim.cxx index fd213fcd12cb..07ac599d584f 100644 --- a/extensions/source/scanner/twain32shim.cxx +++ b/extensions/source/scanner/twain32shim.cxx @@ -143,7 +143,7 @@ LRESULT CALLBACK ImpTwain::MsgHook(int nCode, WPARAM wParam, LPARAM lParam) } } - return CallNextHookEx(0, nCode, wParam, lParam); + return CallNextHookEx(nullptr, nCode, wParam, lParam); } HANDLE GetProcOfThread(HANDLE hThread) |