extensions/source/update/check/updatecheck.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 8092155136090778fe8efb651b7940937819c08c Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Jun 30 07:38:08 2017 +0200 loplugin:oncevar Change-Id: I3c292591aa178b05d8c9aae51031c7a9fd6817a4 diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index 4e9f9be10a9b..895a07f81baf 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -884,7 +884,7 @@ UpdateCheck::install() osl::FileBase::getSystemPathFromFileURL(aInstallImage, aInstallImage); OUString aParameter; - sal_Int32 nFlags = c3s::SystemShellExecuteFlags::DEFAULTS; + sal_Int32 nFlags; #if (defined LINUX || defined __sun) nFlags = 42; aParameter = getBaseInstallation(); @@ -892,6 +892,8 @@ UpdateCheck::install() osl::FileBase::getSystemPathFromFileURL(aParameter, aParameter); aParameter += " &"; +#else + nFlags = c3s::SystemShellExecuteFlags::DEFAULTS; #endif rtl::Reference< UpdateCheckConfig > rModel = UpdateCheckConfig::get( m_xContext ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits