diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-09 14:07:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-09 14:07:01 +0200 |
commit | a53c3cc45062a0e23b3e1c4fcc32c9d565421688 (patch) | |
tree | 2bccc94be66395d14b80a25a54efa8a1b8cf980f /shell | |
parent | 8eefafa9ce7febe0a36e1bf5f4c77492a1b699fb (diff) |
loplugin:nullptr (clang-cl)
Change-Id: I6462f3e7667951ff9306ae1f8882de747148a741
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/win32/SysShExec.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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); |