diff options
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/client/proxydecider.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ucbhelper/source/client/proxydecider.cxx b/ucbhelper/source/client/proxydecider.cxx index 1d46d8ca9a29..10228b72aedc 100644 --- a/ucbhelper/source/client/proxydecider.cxx +++ b/ucbhelper/source/client/proxydecider.cxx @@ -36,7 +36,7 @@ #include <com/sun/star/util/XChangesNotifier.hpp> #include <cppuhelper/implbase.hxx> #include <ucbhelper/proxydecider.hxx> -#include <comphelper/string.hxx> +#include <o3tl/string_view.hxx> #ifdef _WIN32 #include <o3tl/char16_t2wchar_t.hxx> @@ -519,7 +519,7 @@ DWORD WINAPI GetPACProxyThread(_In_ LPVOID lpParameter) sal_Int32 nPortSepPos = sProxyResult.indexOf(':'); if (nPortSepPos != -1) { - pData->m_ProxyServer.nPort = comphelper::string::toInt32(sProxyResult.subView(nPortSepPos + 1)); + pData->m_ProxyServer.nPort = o3tl::toInt32(sProxyResult.subView(nPortSepPos + 1)); sProxyResult = sProxyResult.copy(0, nPortSepPos); } else @@ -591,7 +591,7 @@ InternetProxyServer GetUnixSystemProxy(const OUString & rProtocol) sal_Int32 x = tmp.indexOf(':'); if (x == -1) return aProxy; - int nPort = comphelper::string::toInt32(tmp.subView(x + 1)); + int nPort = o3tl::toInt32(tmp.subView(x + 1)); if (nPort == 0) return aProxy; aProxy.aName = tmp.copy(0, x); |