[Libreoffice-commits] core.git: ucbhelper/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Wed Nov 11 11:38:20 UTC 2020
ucbhelper/source/client/proxydecider.cxx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 3d3180115be3b87e76189aea2031f0caa735dbb3
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Nov 11 09:58:09 2020 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Nov 11 12:37:35 2020 +0100
Drop some unused function parameters
Change-Id: I41ad8001e78ea82bf4d893b5faaa28400ff6efcf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105575
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/ucbhelper/source/client/proxydecider.cxx b/ucbhelper/source/client/proxydecider.cxx
index 8bb610a64335..34ea7385139e 100644
--- a/ucbhelper/source/client/proxydecider.cxx
+++ b/ucbhelper/source/client/proxydecider.cxx
@@ -575,9 +575,7 @@ InternetProxyServer GetPACProxy(const OUString& rProtocol, const OUString& rHost
// Read the settings from the OS which are stored in env vars
//
-InternetProxyServer GetUnixSystemProxy(const OUString & rProtocol,
- const OUString & /*rHost*/,
- sal_Int32 /*nPort*/)
+InternetProxyServer GetUnixSystemProxy(const OUString & rProtocol)
{
// TODO this could be improved to read the "no_proxy" env variable
InternetProxyServer aProxy;
@@ -624,7 +622,7 @@ InternetProxyServer InternetProxyDecider_Impl::getProxy(
#ifdef _WIN32
InternetProxyServer aProxy(GetPACProxy(rProtocol, rHost, nPort));
#else
- InternetProxyServer aProxy(GetUnixSystemProxy(rProtocol, rHost, nPort));
+ InternetProxyServer aProxy(GetUnixSystemProxy(rProtocol));
#endif // _WIN32
if (!aProxy.aName.isEmpty())
return aProxy;
More information about the Libreoffice-commits
mailing list