diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-08-18 10:05:20 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-08-18 10:05:20 +0200 |
commit | e1a75dc228fa7bb7c4c42dc9370fc3e51ff5e936 (patch) | |
tree | 695876b07423ccfa8b88acd63e928b2b4a7e2c62 /comphelper | |
parent | 454c4380a4ab5574d5454d9659b7167845823c48 (diff) |
loplugin:unreffun (clang-cl)
Change-Id: I6e5789982789adc68a2e003aa6acff57639d5b5d
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/windows/windows_process.cxx | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/comphelper/source/windows/windows_process.cxx b/comphelper/source/windows/windows_process.cxx index c9a41f5fc5d6..16ba61399b87 100644 --- a/comphelper/source/windows/windows_process.cxx +++ b/comphelper/source/windows/windows_process.cxx @@ -9,6 +9,8 @@ #include <cstring> #include <cwchar> +#include <comphelper/windowsStart.hxx> + // Needed for CreateEnvironmentBlock #include <userenv.h> #pragma comment(lib, "userenv.lib") @@ -163,17 +165,6 @@ MakeCommandLine(int argc, wchar_t **argv) return s; } -/** - * Launch a child process with the specified arguments. - * @note argv[0] is ignored - * @note The form of this function that takes char **argv expects UTF-8 - */ -BOOL -WinLaunchChild(const wchar_t *exePath, - int argc, wchar_t **argv, - HANDLE userToken = nullptr, - HANDLE *hProcess = nullptr); - BOOL WinLaunchChild(const wchar_t *exePath, int argc, |