diff options
Diffstat (limited to 'shell/source/win32/SysShExec.cxx')
-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); |