shell/source/win32/SysShExec.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit a53c3cc45062a0e23b3e1c4fcc32c9d565421688 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue May 9 14:07:01 2017 +0200 loplugin:nullptr (clang-cl) Change-Id: I6462f3e7667951ff9306ae1f8882de747148a741 diff --git a/shell/source/win32/SysShExec.cxx b/shell/source/win32/SysShExec.cxx index 59243289ad1e..15f063d0d23c 100644 --- a/shell/source/win32/SysShExec.cxx +++ b/shell/source/win32/SysShExec.cxx @@ -326,7 +326,7 @@ void SAL_CALL CSysShExec::execute( const OUString& aCommand, const OUString& aPa else { // Get Permission make changes to the Window of the created Process - HWND procHandle = 0; + HWND procHandle = nullptr; DWORD procId = GetProcessId(sei.hProcess); AllowSetForegroundWindow(procId); @@ -336,7 +336,7 @@ void SAL_CALL CSysShExec::execute( const OUString& aCommand, const OUString& aPa SAL_WARN_IF(check != procId, "shell", "Could not get handle of process called by shell."); // Move created Window into the foreground - if(procHandle != 0) + if(procHandle != nullptr) { SetForegroundWindow(procHandle); SetActiveWindow(procHandle); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits