summaryrefslogtreecommitdiff
path: root/ucbhelper/source/client/proxydecider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucbhelper/source/client/proxydecider.cxx')
-rw-r--r--ucbhelper/source/client/proxydecider.cxx6
1 files changed, 2 insertions, 4 deletions
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;